navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Problems with header in 2 column layout

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Problems with header in 2 column layout
Page: [1]
 
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.

(in reply to paul rayner)
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!"

(in reply to rdouglass)
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

(in reply to paul rayner)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Problems with header in 2 column layout
Page: [1]
Jump to: 1





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