|
Posted by John Bokma on 04/05/06 21:36
Jim Higson <jh@333.org> wrote:
>
>> Is there a hack that will allow me have a statement in the stylesheet
>> that all other browsers will ignore and only be visible for MSIE? All
>> I need is a margin-left:-255px statement and all my worries will be
>> gone.
>
> you can write rules like this:
>
> * html .foo
> { margin-left:-255px;
> }
>
> IE is the only browser that thinks there is an element above html when
> it looks at css rules, so you can use it for stuff you only want IE to
> use.
Don't use hacks, use conditional stuff if this is an IE thing:
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/dhtml/overview/ccomment_ovw.asp
--
John
Google Suggest Perl script http://johnbokma.com/perl/google-suggest.html
Navigation:
[Reply to this message]
|