nettuts.com — When it comes to CSS, there are lots of resources and supposed "expert tips" on the web. These are from unproven, self-proclaimed "gurus" who have no street cred in the design world. While they may have valid points, how is one to know whether a CSS tip is a valid resource or just an untested hack?
Aug 26, 2008 View in Crawl 4
doodAug 26, 2008
Totally agreed. That's awful.Speaking of Firebug (from another post), this can be "easily" fixed. Open Firebug, go to the CSS tab, pick "style.css" (it's the last of all of the stylesheets loaded) and then find the blockquote definition. Disable the "color" and voila, the text is instantly readable.
corrosionxAug 27, 2008
Elitist.... :PI watched a lot of the demoscene at 14.... I'm just glad it's easier to create beautiful products nowadays.
econofastAug 27, 2008
I see the benefit of both. I personally go with the one property per line technique, but indent them, so you can easily locate the rule you're looking for. I guess his technique reduces scrolling, which is something.
knargAug 27, 2008
was expecting how to master counter-strike source :(
fly3Aug 28, 2008
I don't agree about keeping all the rules in one line, most books i have studied clearly show them listed vertically. Also he mentions about using a clear div to make sure a floated div doesn't collapse, this is what I do but he doesn't mention that in older version of IE the clear div can end up taking up a vertical space as I don't think they support div's with no height.
schcnzAug 31, 2008
Great article, though not sure about rule #2. I suppose if one wants to find an id or class, press ctrl + F to search for the wanted class is easier than trying to scan through the entire file. I've found it not so easy to read when one class/id's declaration becomes quite long.
dainixAug 31, 2008
Love in CSS :) Thanks for sharing!