Can someone tell me what I could be doing wrong. The following page works fine in IE8 and FireFox but elements of the CSS don't seem to be being respected in Chrome and Safari. Thanks.
Here's what I'd do:
First, the div #navigation
that wraps around the ul #navlist
is redundant. Just style the ul like you would the div and lose the div altogether.
Secondly, I would make the ul float left. Then I would make the content div float left and lose the margins. Make sure #container
is overflow:hidden;
As long as you set the width of the ul and the content div, it should look good in all browsers.
I'm actually baffled that it looks the way it does in Chrome... I'll update this answer as I examine it more.
UPDATE
The user agent in chrome styles the ul display: block;
You should add a reset stylesheet to put all browsers on the same footing. Although, if you follow my above advice that will not be a direct issue. Let me know if you need set of reset rules I use.
For whatever reason, your server is returning a '304 Not modified' status to the css file request and the gif images.
EDIT: In Firefox, I do not get that status so this is a set up problem with your server.
When I validate your CSS with W3's CSS validator I get this error:
I/O Error: Unknown mime type : */*
This could indicate a server error which is throwing Chrome off. Check out this thread:
http://www.sitepoint.com/forums/showthread.php?t=461039
(Also check through your css. You have div#navigation in there where it should just be #navigation.)