style sheets

Walter Bright newshound at digitalmars.com
Sun Jun 4 13:50:39 PDT 2006


pragma wrote:
> Rather convinently, IE will still process any rule that begins with '//'.  As
> all browsers will follow the last declared instance of a rule, you can exploit
> both behaviors like so:
> 
> foobar{
> height: 1px;
> //height: 0px;
> }
> 
> .. where Mozilla will obey the comment and use 1px, and IE will follow both and
> use 0px due to the ordering.

Ok, that does seem to work.

But in Mozilla, there is still excessive spacing above the "Community" 
and "Archives" thing, that isn't in Explorer.



More information about the Digitalmars-d-announce mailing list