Page 1 of 1

css question

Posted: Tue Aug 02, 2011 11:40 pm
by danwguy
probably stupid but let's say I have in my header
<link href="style2-test.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->

will IE use both stylesheets or only the ie.css?
is it different for different versions of IE? i.e. will IE9 use both styelsheets but IE8 will only use the ie.css? Sorry if this is completely retarded, but I have never used these before and for some reason IE9 is showing a border on the bottom of a div, yet in ie.css there is no border-bottom, but there is in style2-test.css.

Re: css question

Posted: Wed Aug 03, 2011 1:47 am
by Christopher
Google "<!--[if IE]>" for more info, but:

http://css-tricks.com/132-how-to-create ... tylesheet/