You are here: Re: suckerfish elastic width thing « HTML « IT news, forums, messages
Re: suckerfish elastic width thing

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация