Jump to content


This topic is now archived and is closed to further replies.


Using PHP with a CSS Layout

Recommended Posts

I've been trying to create a pure CSS fluid layout with this tutorial:

[a href=\"http://www.tjkdesign.com/articles/liquid/7.asp\" target=\"_blank\"]http://www.tjkdesign.com/articles/liquid/7.asp[/a]

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:
[a href=\"http://www.kaidan.org/testing2/index.php\" target=\"_blank\"]http://www.kaidan.org/testing2/index.php[/a]

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: [a href=\"http://www.kaidan.org/testing2/style2.css\" target=\"_blank\"]http://www.kaidan.org/testing2/style2.css[/a]
The Index Page: [a href=\"http://www.kaidan.org/testing2/index.php\" target=\"_blank\"]http://www.kaidan.org/testing2/index.php[/a]

Share this post

Link to post
Share on other sites
This is in the wrong forum as it's not a PHP problem but a CSS one. But in general, Internet Explorer sucks (I know from my experience of trying to code javascript for it). I would hook you up with my graphics designer but he's not online. Check the CSS forum

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.