Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS Fluid Layout with PHP Inclusion? 1

Status
Not open for further replies.

picklesnort

Technical User
Jun 17, 2006
3
CA
I've been trying to create a pure CSS fluid layout with this tutorial:


However, I wanted to make the layout with PHP inclusion, therefore, if I updated something (ex. the menu), I would only have to edit one page.

The layout works fine in Mozilla Firefox:

However, in Internet Explorer it does not. Here are some of the main problems:

1. layout spans the entire width of the page
2. the dark background image is nowhere to be seen
3. the layout is not centered as it's supposed to be

I have tried some things that would make the layout sort-of work, including putting a large div around the other divs, or using fixed widths instead of fluid. However, I am trying to make the layout as simple as possible, so I'm trying to avoid using such tactics.

Perhaps it has something to do with my coding? If someone could take a look and lend me a hand, it would be very much appreciated. Here are the links to pages you would probably want to take a look at:

The CSS: The Index Page:
 
Vragabond;; Oh wow, thank-you! The layout now works in Internet Explorer...but no longer works in Mozilla Firefox. o_O; Could it be because of the PHP inclusion?
 
Oops, nevermind! I've got it working. Thank-you very much Vragabond!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top