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