I'm wondering if anyone knows of a resource which shows some of the many different ways we format our CSS code. I am refering to the different ways to write comments, different indenting techniques, use of whitespace for more than one declaration, etc.
I know we all have our favorite method to layout and write the style sheets but it does seem as if a few techniques are more prevelant than others. Also, some just seem more effecient than others at least as far as the ability to re-use a file for different sites is concerned.
Hey guys, on this topic... I'm working on a pretty large site with public, client, and admin areas. When organizing css for each area, I decided to take the styles from one sheet and use the @import method.
So on the public side, I call styles.css which calls public.css and global.css. The same goes (with their respective css files) for the client and admin sides.
Thing is... it seems really cumbersome and I fear there might be instances of overlap later on when someone edits a style but it's already covered in global.css or something like that. Make sense?
So now I'm thinking maybe I need to use < body id= for the three areas and then style from there. What do you think?