Reply to A whole stylesheet just for IE

Your name:

Reply:


Posted by dorayme on 01/09/64 11:56

Anybody here actually use a css sheet just for IE? I have been
thinking of it considering the hacks I have been lately putting
in to get IE to do more of what I want. Thought to just name it
ie.css, list it as the last of a bunch of css links in the head
and enclose the whole text of this last sheet in

/* Hides from IE5-mac \*/

and

/* End hide from IE5-mac */

and start all the css inside with

* html

Anyway, I read at

http://www.satzansatz.de/cssd/onhavinglayout.html

"The use of an external style sheet for whatever fixes IE-Win
needs, linked from inside a conditional comment, is also a secure
and elegant solution:

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

--
dorayme

[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

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