News for hackers. Stuff that matters.
Re: CSS Code Snippets To Make You A Better Coder by TamDenholm on Monday February 07, 2011 @06:13AM (#2188517)
Personally i believe that you should use the least amount of CSS hacks as humanly possible. The only one i use on a regular basis is clearfix. I usually dont have to use any others to get my layout working in everything except IE. I then use an IE specific style sheet (conditional comments) to break my layout for IE.

In my view its better to do that than use hacks.

Re: CSS Code Snippets To Make You A Better Coder by forbes on Monday February 07, 2011 @06:43AM (#2188563)
I agree. Anytime I use a CSS hack it makes me feel dirty. An IE specific stylesheet is an unfortunate necessity, but there seems to be a cottage industry of people using browser-specific hacks for everything. It feels like it goes against the whole spirit the CSS standard. Maybe it is a case of just getting the job done, and being forced into nasty hacks by a half-dozen browsers implementers who are supporting different parts of the standards on their own schedule.