Jump to content

Using PHP with a CSS Layout


picklesnort

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]

Link to comment
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.