Problems with header in 2 column layout (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


paul rayner -> Problems with header in 2 column layout (7/8/2007 7:28:00)

Hi
I have a 2 column layout, using php includes.
<div class="containingbox">
<div id="top">
	<?php include("accesscontrol.php"); ?>
	</div>	
<div id="leftnav">

<?php include("menu.php"); ?>

</div>
	<div id="content">

	<?php include("phpeditor/content.php"); ?>

	
</div>

<div id="footer">
	Copyright ©Paul Rayner 2007

	</div>
</div>

As it stands at the moment, the header takes over everything. Example
IF I replace the accesscontrol include, it works OK.

Can anyone point out please, what's going wrong?

Cheers




rdouglass -> RE: Problems with header in 2 column layout (7/8/2007 12:09:50)

If you look at the resultant code from your example, I see 2 <head> sections as well as additional <html> tag.

I'd remove those from your include files.

Hope it helps.




paul rayner -> RE: Problems with header in 2 column layout (7/8/2007 16:48:12)

Thanks - removed those.
But still without luck.
The code that's supposed to be the header "steals" the whole page.
I'm puzzled - but I'm sure it's something simple.




jurgen -> RE: Problems with header in 2 column layout (7/8/2007 19:14:48)

You still have 2 <body> tags in there.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875