Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [html] Komentarze warunkowe IE
szczurek
post
Post #1





Grupa: Zarejestrowani
Postów: 59
Pomógł: 0
Dołączył: 1.10.2006
Skąd: Bydgoszcz

Ostrzeżenie: (10%)
X----


Witam, w sumie nie miałem dotąd takiego problemu. Potrzebuję zaimportować dodatkowy arkusz stylów dla IE6 ale dla IE 7 już nie bo tam zepsuje on wygląd strony(jest o.k. z podstawowym).

Kombinowałem już w różnych wersjach komentarzy warunkowych ale zawsze jest tak że arkusz jest importowany po prostu wtedy gdy jest to IE niezależnie od wersji.

Ostatnie kombinacje to:

  1. <!--[if (gte IE 6)&(lt IE 7)]>
  2. <link rel="stylesheet" type="text/css" href="styleIE.css" />
  3. <![endif]-->



  1. <!--[if lt IE 7)>
  2. <link rel="stylesheet" type="text/css" href="styleIE.css" />
  3. <![endif]-->


  1. <!--[if IE 6]>
  2. <link rel="stylesheet" type="text/css" href="styleIE.css" />
  3. <![endif]-->


Jeszcze kilka innych ale zawsze efekt jest ten sam, jak jest IE niezależnie od wersji to importowany jest arkusz.
Ma ktoś jakiś pomysł?


--------------------
"Nie masz żadnej szansy, ale ją wykorzystaj" Arthur Schopenhauer
wiersze
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 04:59