Reply to Re: A whole stylesheet just for IE

Your name:

Reply:


Posted by Nikita the Spider on 01/24/30 11:56

In article
<doraymeRidThis-7CE201.14524424082006@news-vip.optusnet.com.au>,
dorayme <doraymeRidThis@optusnet.com.au> wrote:

> Anybody here actually use a css sheet just for IE?

Yes

> <link rel="stylesheet" href="allbrowsers.css" type="text/css" />
>
> and then
>
> <!--[if lte IE 6]>
>
> <link rel="stylesheet" href="iefix.css" type="text/css" />
>
> <![endif]-->"
>
> Which is a thought? This means one could then simply have an
> alternative normal stylesheet, no star hacks, no inner
> conditionals etc... that only IE 6 sees, I presume? It is taken
> as gospel by IE because it is the last sheet in the list in the
> head?

IE less than or equal to 6. I'm not sure what your comment about "taken
as gospel" means, but I think the answer is "no" anyway. =) I think IE
sees this additional stylesheet, other browsers do not. That's all there
is to it.

I usually write a single, normal stylesheet that works for the decent
browsers (Firefox, Operea, Safari, etc.) and then make an IE-specific
stylesheet that uses "! important" to override stuff in the normal
stylesheet that gives IE trouble.

HTH

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more

[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

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