CSS not working under MS IE

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

CSS not working under MS IE

Post by ljCharlie »

Will anyone show me why and how to fix my CSS so it works well in both Firefox and MS IE? Right now it seems to be working just fine in Mozilla but it shows up really bad under MS IE.

Here's the link.

http://lorresident.com/Testing/

ljCharlie
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

Welcome to the hell that I deal with all the time. Micro$oft can't support a standard that they don't own, so they don't bother trying.

Proper CSS support in IE is pitiful at best, and down right ludicrous at worst.

The easiest way to fix your problem is to try not using css for layout. tables are the easiest. However, There is hope! Read up at: http://glish.com/css/7.asp or http://www.webproducer.at/flexible-layout/ to start with :)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

might want to start with valid html instead of the soup you have now...


http://validator.w3.org/check?uri=http% ... &verbose=1

btw, you use weir id's instead of classes... change the html to for example:

<div class="rightsidemenu ul">


and the css to

div.rightsidemenu {
...
}
ast3r3x
Forum Commoner
Posts: 95
Joined: Thu Aug 19, 2004 8:36 pm

Post by ast3r3x »

Don't listen to nickvd.

You may have to try out some different things, but tables are not to be used to control layout unless you are...get ready...ready?...you sure?...ok, don't use tables unless you are displaying tabular dataImage

You really shouldn't use '&nbsp;' to add spaces either, but that isn't too big of a deal.

I don't think your code looks too bad.
Post Reply