It drives me crazy. I am trying to use IE6 conditional stylesheet. I have posted this test page here . Here is the code that I posted in my tags:
<!--[if IE 6]> <link rel="stylesheet" type="text/css" href="ie6.css" /> <![endif]-->
ie6.css should set the body background to red when viewed in IE6.
What is wrong here? I'm sure this is something dumb. Can someone please point this out to me?
It works great for me. Launch the test page through IE NetRenderer and you will see a red background. Perhaps you are testing it in a version of IE other than 6?
, IETester?
IETester, IE.
- CSS ( , HTML)? CSS .
<!--[if IE 6]><link href="css/ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
. , . , -, X UA, , . , .
<meta http-equiv="X-UA-Compatible" content="IE=7" />
Source: https://habr.com/ru/post/1731726/More articles:Objective-C for iPhone - application crashes when using simple date commands - objective-cHow to Recognize Touch Up Inner Gesture from UITouch - iphoneHow to get rid of the surfaces of the pygamum? - pythonPackageMaker UI Dialog - packagemakerwordpress - how to get php variable on page from sidebar - phpWhy don't all Java classes have interfaces? - javaDoes the same data return linq for two different executions of the stored procedure? - linqVisual Studio 2010 version control and bug tracking features - perforceВ качестве эксперимента я хочу немного поработать с AWS. Сколько я могу заплатить? - amazon-web-servicesglobally style all html buttons without requiring a "class", "id" or "name", - htmlAll Articles