View Full Version : CSS Related <if IE>

02-13-2009, 05:39 AM
Am I able to put this in to my main CSS file or do i have to edit each page separately

<!--[if IE]>
<style type="text/css">

02-13-2009, 09:43 AM
Conditional comments are like any other html tags, so you can't put them inside your CSS file. Do you need to add that specific style for all IE versions? If you need to target it for IE6 or less, the you nay use

* html #holdpanel{
} in your main CSS file.

02-13-2009, 05:05 PM
Its for internet explorer in general

02-13-2009, 05:28 PM
Assuming your css is included on all pages as an include, you could add a second include that has the IE bug fixes (your conditional include).

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum