News for hackers. Stuff that matters.
Re:CSS Lint is harmful by catshirt on Monday July 11, 2011 @10:08AM (#2750712)
I'll quote something from CSS lint I've quoted here before and probably will have to quote again; "CSS Lint simply checks to see if you've used float more than 10 times, and if so, displays a warning. Using this many floats usually means you need some sort of abstraction to achieve the layout.".

Really, honestly, what does this even mean?

Re:CSS Lint is harmful by huckfinnaafb on Monday July 11, 2011 @10:23AM (#2750781)
"CSS Lint simply checks to see if you've used float more than 10 times, and if so, displays a warning. Using this many floats usually means you need some sort of abstraction to achieve the layout."

I suspect this means you should be using a grid system, either hand written or borrowed from somewhere that writes grid systems. Constantly using float everywhere is completely unnecessary for larger sites.

Re:CSS Lint is harmful by catshirt on Monday July 11, 2011 @11:31AM (#2751111)
sorry... grids float, no?
Re:CSS Lint is harmful by huckfinnaafb on Monday July 11, 2011 @11:50AM (#2751208)
...yes, but they often only declare it once.
Re:CSS Lint is harmful by voidfiles on Monday July 11, 2011 @12:23PM (#2751343)
I think the point is that if you are using floats in too many places you there are probably a whole host of other problems with your CSS. If you took the time to go over your CSS, and find where you are duplicating effort you might be able to reduce the number of CSS classes you are using by finding a common pattern. Thus abstracting your CSS.