You are here: Re: A whole stylesheet just for IE « HTML « IT news, forums, messages
Re: A whole stylesheet just for IE

Posted by dorayme on 11/26/43 11:56

In article
<NikitaTheSpider-6C078A.21321624082006@news-rdr-03-ge0-1.southeas
t.rr.com>,
Nikita the Spider <NikitaTheSpider@gmail.com> wrote:

> 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.

From the sound of what you are saying, you guess wrong, it _is_
taking it as gospel. :-)

I just meant that IE will not only read it but use the
instructions in preference to others that can be seen by most
other browsers. If the css sheet is placed last in the header
list. If the IE sheet was not there, it would take as gospel what
is there. If the IE sheet was placed first in the list and there
were conflicting instructions in the "normal" later listed
sheets, it would take as gospel the later sheets... Right?

Taking as gospel means taking it to heart, not just reading and
noting... going forth with the blinding light of Higher Truth and
acting with mercy and justness in the world... Christ mate, don't
get me going!

>
> 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.
>

Thanks for this, so you are saying you use the conditional
construction I mention and it all works fine. That is good enough
for me. I trust you.

--
dorayme

 

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

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