Sent by Holly Bergevin on 26 September 2004 22:10
From: JB McMichael [EMAIL-REMOVED]>
>So this page that I am working on,
>
>http://dolemite.kno-where.com/~ursasmar/lucid/index.html
>
>Works fine in Mozilla/Firefox, but is wrong in IE and I just don't
>know how to fix it.
>
>The style is at
>
>http://dolemite.kno-where.com/~ursasmar/lucid/style.css
I concur with Rob's suggestion about removing the xml declaration before the doctype on your page.
Unfortunately, you'll still find you have differences in display after you do that. There's probably
a more logical, less "tweaky" way to make things work cross-browser (Rob had other suggestions), but
the following should give you approximately what you want without rewriting the page.
Again, remove the xml dexlaration.
Add - * html #main {top: -92px; padding-top: 70px;}
Add - to #nav {clear: left;}
Add - * html #nav {margin-top: -23px;}
Add - to #nav ul {width: 97px;}
The Tan hack (star html) selectors may need to be hidden from IE5/Mac, but they automatically hide
from all other browsers due to their construction. To hide from IE5/Mac, use the following
construction -
/* hide from IE5-Mac \*/
stuff to be hidden
/* end hide */
The above suggestions assume that Opera is not one of your target browsers...
hth,
~holly
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/