1 reply [Last post]
sledgeweb
Offline
Regular
Last seen: 13 years 34 weeks ago
Joined: 2004-09-10
Posts: 14
Points: 0

I've been doing web development for a long time now, but I've been hesitant to abandon tables for css due to all the problems with browser compatability. However, I'll soon be revamping a site, and I want to start separating design and content via xhtml and css. So, I'm in the process of doing some rough layouts just to get a hang of this css stuff, and I'm already encountering some nasty browser incompatibility issues... the very type of thing that turns me off to using CSS at all. However, I'm hoping some of you here can show me the light and convince me CSS is the way to go, even it isn't fully supported across all browsers yet (especially IE, the most popular browser out there).

So, here's what I've got. First, a TABLE html rough of what I'm trying to do (this isn't a real design, just a testing ground, so, no crits on the design please):

http://www.usef.org/v5/

Now, here is my xhtml (not validated yet) for content:
http://www.usef.org/v5/index3.php?style=0

And, if you change the style=0 in the URL above to style=1, you'll get css version:
http://www.usef.org/v5/index3.php?style=1

Which links this css file in:
http://www.usef.org/v5/base2.css

It looks fairly decent in FireFox, but it doesn't display properly in IE, the "Welcome" box isn't positioned correctly.

I'd like to keep the data in the order I have it in the xhtml file. I've been researching CSS Zen Garden and Stop Design among some other sites for ideas.

What I'd like, is some basic critique on my stylesheet and xhtml, are things being set up good, what could be done better, etc. AND, obviously, how to fix the descrepancy between the two browsers.

Thanks,
Sledgeweb

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 day 3 hours ago
Joined: 2004-06-30
Posts: 9679
Points: 815

Need some newb help on CSS layout problem with IE

Very rushed at the moment. All I can say is use the tag instead of the <strong> tag - it will make your files smaller, therefore loading quicker.

Verschwindende wrote:
  • CSS doesn't make pies