|
Posted by Jim Higson on 04/06/06 11:32
John Bokma wrote:
> 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:
But the conditional stuff *is* a hack! It just happens to be a hack that
Microsoft added on purpose rather than all the ones they allowed by
mistake.
> http://msdn.microsoft.com/library/default.asp?
> url=/workshop/author/dhtml/overview/ccomment_ovw.asp
What awful URLs MS uses!
--
Jim
Navigation:
[Reply to this message]
|