Forum Moderators: not2easy
/* ... */ bits comment out that section of the CSS so that it's ignored by the browser. When you want to do some troubleshooting of your CSS to see exactly where everything is, you can delete the /* and */; then everything (that's what the single * indicates) will have a thin purple border. That will help with figuring out margins, padding, and other aspects of positioning. Hope I'm not not being presumptuous, drbrain
ul { border-color: red } to see how an unordered list is affecting layout.
I mostly use this for diagnosing pixel (em) precise positioning problems. (I've mostly switched over to a .05em border because it scales well, the 1px is a relic.)
then everything (that's what the single * indicates) will have a thin purple border
One problem with the 'drbrain purple border technique' is that it adds 2px to the width of all of the boxes. This can spell box-model death for a carefully manicured layout in compliant browsers (IE Quirks will simply pack it into the width but NS, Moz & Opera will add it to the outside).
A box-checking technique that avoids this (but also, sadly, requires more work) is to set glaringly spastic background colors, one on each box. This gives you a clear vision of where one box ends and another begins. Then, once the layout is right, go in and switch to your more carefully selected color scheme.
As for a response to the original post...
the online MSDN reference library has a great listing of CSS properties, definitions and examples of use that are far more accessible to the non-techie than the W3C listings (which you really ought to work toward being able to read and decipher).
Another suggestion is to find a site with some aspect that you like, then download it's .css files and pick through them. Look up selector syntax and properties that you're unfamiliar with in the MSDN library [msdn.microsoft.com], W3C specs [w3.org] or any texts you can find. This will quickly build an applicable understanding of what certain things do.
If you are really new to CSS, the website has very good interactive "lessons" for CSS (all free, no registration), it also has toturials on HTML and other web related technologies.
On most of the examples a split window with sample code on the right and what the code produces on the left... And, you can experiment by editting the code in the left frame and seeing the results on the right.