Organizing CSS hacks – To use filters or separate files?

Discussion in 'HTML & Website Design' started by pritambarhate, Sep 3, 2009.

  1. #1
    Hi everybody,

    I want your opinion on this topic, while organizing CSS what do you prefer,

    Do you put your IE CSS hacks (such as *, _ CSS filters) in your main style sheet, or do you use separate style sheets to target different versions of IE using conditional inclusion?

    I know most of the famous bloggers (including official IE blog) advice using conditional inclusion. But in my case I have found that having all the CSS for one element together leads to easier management since I can see all the styles applied in one place. Where as while using different CSS files, a lot times I tend to forget that I have specified a separate rule for IE and I only remember this after refreshing 3-4 times in IE. (waste of time).

    What do you do / prefer? Have you ever seen any negative effects of using CSS Hacks rather than separate stylesheets?


    Pritam Barahte.
     
    pritambarhate, Sep 3, 2009 IP