Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] <div> starting in header template and ending in footer template
#6

Was the original question that you didn't want to start a DIV in one view and close it in another?

I'll use "header/start" and "footer/end" views, it might be a bit tricky to debug, but don't think it's necessarily too bad.

Your other option is to have views withing views:
Code:
<html>
<head>
</head>
<body>
    <?php $this->load->view('layout') ?>
</body>
</html>

Code:
<div>
    <?php $this->load->view('another') ?>
</div>
<div>
</div>

And so forth.
Reply


Messages In This Thread
RE: &lt;div&gt; starting in header template and ending in footer template - by Pertti - 07-21-2018, 01:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB