<link rel="stylesheet" type="text/css" href="styles.css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="styles.ie.css" /> <[endif]--> <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="styles.ie6.css" /> <[endif]-->
In the above code, most browsers will only apply styles.css
to the page. Internet Explorer browsers, however, will also apply styles.ie.css
to the page. Additionally, Internet Explorer versions prior to IE7 will also apply styles.ie6.css
to the page.
<style type="text/css"> |
<style type="text/css"> p { font-size: 2em; font-family: Arial; } </style> |