| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
I Call Shenanigans™
Join Date: Feb 2003
Location: Manchester, England.
Posts: 9,929
|
Mulitple Classes ie5
This is css and code Im using, its fine in ie 5.5 and 6. + the fox etc. ie 5 (pc) is not applying the first class though, anyone know of a way to fix this ? p.main1{ margin-top:30px; margin-left:10px; margin-bottom:7px; margin-right:7px; } p.main2{ margin-top:0px; margin-left:10px; margin-bottom:7px; margin-right:7px; } <p class="main1"> blah blah </p> <p class="main2"> blah blah </p> |
|
|
|
|
|
#4 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,202
|
IE5 ignores the declaration directly after using the bmh. To get round it add the "be nice to opera" thingy. see here - http://tantek.com/CSS/Examples/boxmodelhack.html That way IE5 will just ignore that and nothing important. |
|
![]() |