Jump to content
  • 0

подключить стиль для ie6 через style.css


cardsmoney
 Share

Question

... index.html мы подключаем стиль для ие6 вот так

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

Ну это понятно.

А есть ли способ подключить тоже самое, но через style.css?

(я имею ввиду чтото в духе

/*
[if IE 6]
<link rel="stylesheet" type="text/css" href="style_ie6.css" />
<![endif]

*/

)

???

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

* html { }

для ие6

* + html { }

для ие7

и для ие8 принудительное включение совместимости с ие7

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

но все это зло, хоть и валидно, проблемы и с эти есть, так что лучше пытаться без хаков...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy