|
| |
|
|
paul rayner
Posts: 208 Joined: 3/15/2001 From: yeppoon, qld, aus Status: offline
|
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
_____________________________
" In theory, there is no difference between theory and practice. But, in practice, there is!"
|
|
|
|
rdouglass
Posts: 9229 From: Biddeford, ME USA Status: offline
|
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.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
paul rayner
Posts: 208 Joined: 3/15/2001 From: yeppoon, qld, aus Status: offline
|
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.
_____________________________
" In theory, there is no difference between theory and practice. But, in practice, there is!"
|
|
|
|
jurgen
Posts: 385 Joined: 1/9/2007 From: Castle Rock, Colorado Status: offline
|
RE: Problems with header in 2 column layout - 7/8/2007 19:14:48
You still have 2 <body> tags in there.
_____________________________
Wedding Dresses Colorado
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|