News for hackers. Stuff that matters.
Re:CSS Absolute Centering by sopooneo on Saturday August 10, 2013 @02:55PM (#6192218)
I used to hear that dogma too. And then all of a sudden I'm reading everywhere that I should check out bootstrap.css, which flies straight in the face of semantic markup by requiring you to use class names that are descriptive of their layout effect. I don't know if there is overlap between the evangalizers of semantic markup and bootstrap.css, but if so, it would seem contradictory.
Re:CSS Absolute Centering by woah on Saturday August 10, 2013 @10:16PM (#6193541)
I used to be against class names that are descriptive of their layout effect, but honestly, it's the simplest way a lot of the time. You can't always think up the exact right name for a random element somewhere on a site, and getting into the habit of using sane oocss can save a bunch of time.
Re:CSS Absolute Centering by ricardobeat on Saturday August 10, 2013 @04:35PM (#6192583)
Classes and IDs have no semantic purpose in HTML[1]. Bootstrap's approach is bad from a developer's perspective, but is not bad as long as you use the right elements.

[1] search/indexing bots do look at classes to try to make sense of a page, but only because of tag soup and the lack of structural elements before html5