Reply to Re: What is IE5 fudge

Your name:

Reply:


Posted by Jonathan N. Little on 11/09/07 17:19

VUNETdotUS wrote:
> On Nov 9, 11:29 am, "Jonathan N. Little" <lws4...@centralva.net>
> wrote:
>> VUNETdotUS wrote:
>>> Can anyone explain what IE 5 fudge from CSS below is? Why width? What
>>> about height?
>> No idea 'cuz...
>
> This is the part that fixes width/height in IE5 but I though someone
> who is familiar with it can explain:
> See what I found: http://www.tantek.com/CSS/Examples/boxmodelhack.html
>
> width: 150px; /* ie5win fudge begins */
> voice-family: "\"}\"";
> voice-family:inherit;
> width: 120px;
> }
> html>body #right {
> width: 120px; /* ie5win fudge ends */
> }
>

I misread the code because of the "wrap" in the message. Hence the value
in URL's over code snippets.

Now I see that it is over-sizing a block for broken box model. But I
would dump this hack because:

1) If you don't trigger quirks mode IE6+ will correctly size the block

2) Even Win98SE support IE6 so the percentage of folks using IE5x < 1%

3) Hacks can come back to bite you when browsers can CSS support

4) Can have side-effects on other rules

5) Many times can adjust design so for the %0xx of folks that will see
the bug it will not really impair the site!

6) Can get carried a long with each new version of markup like a
vestigial gene until the origin purpose is lost...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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