You are here: Re: ok,if theres a god of css, i'll pray! « HTML « IT news, forums, messages
Re: ok,if theres a god of css, i'll pray!

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]


Удаленная работа для программистов  •  Как заработать на 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

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