You are here: Re: What is IE5 fudge « HTML « IT news, forums, messages
Re: What is IE5 fudge

Posted by Els on 11/09/07 17:28

VUNETdotUS wrote:

>> but if I use padding:0;margin:0; do I need that hack at all? And why
>> IE5 needs 150px? Why not 160 for example? What is the rule of fudge
>> hack?
>
> Oh, I got it. 150 is width+margin+top. So, I do not need fudge hack if
> padding, margin are 0...

width+padding+border, not width+margin+top.

And indeed, without padding or border, no hack needed.
I usually work around it by setting padding/border only on elements
without a width, and setting width on their parents but no
padding/border.

--
Els http://locusmeus.com/

 

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

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