Posted by Wrm on 09/21/05 17:11
"the idiot" <sinatra@thesands.co.uk> kirjoitti
viestiss:7YScnfPp8pYor6zeSa8jmw@karoo.co.uk...
<snip>
> #nav a {
> display: block;
> width: 10em;
> w\idth: 6em;
> color: #7C6240;
> text-decoration: none;
> padding: 0.25em 2em;
> }
>
> what does the w\idth bit do - is it a hack or something?
If I recall right, in this case it "hides" width: 6em; from MS IE 5.5 and
5.0. For IE 5.0 and 5.5 width:10em; is last thing they see, for IE 6em; is
what IE 6.0 sees. Usually this is one way to get things work on IE 5.0 and
5.5 for some of their broken box model bug that were fixed for IE 6.0.
Navigation:
[Reply to this message]
|