PDA

View Full Version : CSS hack and NS4


Darkwolf
20.03.2002, 07:53
I'm using the Tantek Celik hack for IE5.

Not for the usual box model pb, but for the cursor.
cursor:pointer doesn't work on IE5 insted it uses cursor:hand.

So here is my stylesheet :
<pre id=code><font face=courier size=2 id=code>
<style type="text/css">
a.menu {font:10px verdana,Helvetica,sans-serif;color:#fff;text-decoration:none}
.colorCell{
border:1px solid #fff;
border-bottom:0px;
color:#fff;
background-color:red;
height:29px;width:195px}
.colorCell{
cursor:hand;
voice-family: "\"}\"";
voice-family: inherit;
cursor:pointer;
}
a {color:purple}
</style></font id=code></pre id=code>

That works fine, but then, NS4.75 just ignore the whole css (the "}" trick + the last } might be the pb ... ).

Anyone ?

<font color=green><div id="<font color=navy>Nico Combelles</font id=navy>" style="<font color=navy>age: 22; nat: french; site: notYet</font id=navy>"><img src=icon_smile_tongue.gif border=0 align=middle></div></font id=green>

womble
23.03.2002, 14:20
Yeah - Tim's quite right - the browsers do some really weird things, especially the NS4.X versions!

And then again, IE6.0 does some weird things that none of the other browsers do - i'm beginning to wish i didnt upgrade to IE6.0 from 5.5! d'uh!

Trust Me, I'm a Doctor!...
womble