ปกติผมใช้ในเวลาทำ Theme Wordpress แต่จะเอาไปใช้กับอย่างอื่นก็คงได้ไม่มีปัญหา อธิบายเรียงตามบรรทัดเลยนะครับ
<!--[if lt IE 7]> <html class="ie6"> <![endif]-->
<!--[if IE 7]> <html class="ie7"> <![endif]-->
<!--[if IE 8]> <html class="ie8"> <![endif]-->
<!--[if !IE]><!--> <html> <!--<![endif]-->
กำหนดว่าถ้าต่ำกว่า IE 7 ให้แสดง class="ie6"
กำหนดว่าถ้า IE 7 ให้แสดง class="ie7"
กำหนดว่าถ้า IE 8 ให้แสดง class="ie8"
กำหนดว่าถ้าไม่ใช่ IE ให้มี class
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" media="screen" href="css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="css/ie7.css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="css/ie8.css" /><![endif]-->
กำหนดให้ใช้ css/style.css เป็น Default
กำหนดว่าถ้าต่ำกว่า IE 7 ให้ใช้ css/ie6.css
กำหนดว่าถ้า IE 7 ให้ใช้ css/ie7.css
กำหนดว่าถ้า IE 8 ให้ใช้ css/ie8.css
ลองประยุกต์ดูครับผม