You are here: Re: problem with IE - well, who does not? « HTML « IT news, forums, messages
Re: problem with IE - well, who does not?

Posted by windandwaves on 02/07/06 02:59

Toby Inkster wrote:
> windandwaves wrote:
>> David Graham wrote:
>>> Toby Inkster wrote:
>>>
>>>> #nav * { zoom: 1; }
>>>
>>> Does the star after #nav represent any element within the div with
>>> id=nav?
>>
>> I actually think it is a hack, where either IE or the other browsers
>> do not read the style definition.
>
> No, David was right. "*" is a valid CSS selector: it means "anything".
>
> "DIV P {...}" selects paragraphs inside divs. Similarly, the selector
> I posted selects anything within #nav.
>
> It's not a hack; it's supported by almost any CSS-capable browser.
>
> That said, "zoom:1" is a hack. It's not valid CSS: "zoom" is a
> proprietary MSIE property designed to scale different HTML elements.
> Setting it to "zoom:1" doesn't do anything in IE, as you're
> effectively zooming to normal size, but it does have the effect of
> fixing IE's "hasLayout" bug. Other browsers ignore it.

Classic! My apologies. I remember there was some way of using an * as a
hack, but i cant remember it...

 

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

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