Reply to Re: ok,if theres a god of css, i'll pray!

Your name:

Reply:


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

[Back to original 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

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