I have been to this many times. First, in the early days, I only did a stylesheet with everything that was inside, not so much, was an old time; then I decided for your second approach, the first of which, fortunately, thought it was a mistake, too much code and bits floating around ...
The second approach is good until the moment when you start to ask questions ... I mean:
Should the background style for this div be in the graphics.css file or in layout.css?
If the font style is in the fonts.css file or in the layout when it approaches the width of P?
If the header field with the position of the icon sign goes to the graphic .css or to layout.css or to the fonts.css file (would it be easier to use the same declaration for the icon, text and position ...)?
Then you realized that something was wrong with this approach.
Now I'm commenting. LOT.
template.css -
#header { width: 1004px; height: 243px; padding: 20px 0px 0px 0px; background-color: #000000; background-image:url('../images/redset/top1-bk.png'); background-repeat:no-repeat; background-position:right top; clear: both; } #logo { background-image:url('../images/redset/wh-logo.png'); background-repeat:no-repeat; width:327px; height: 263px; float: left; margin: -20px 0px 0px 0px; } #logo a { width:327px; height:263px; } #menuybanner { text-align: center; } #bannerz { height: 152px; width: 653px; text-align: left; margin-right: 24px; } #bigmenu { text-align: left; margin: 18px 0px 14px 74px; } #bigmenu img { margin: 0px 22px 0px 0px; }
Initially, this would be in three different CSS: layout, graphics, and texts. Now I know what everyone is doing.
By the way, I know that it lifts the weight of the archive, but I prefer not to do any mixed effects, because everyone who comes after me and reads css should be able to understand what I did and css like this:
a, .b, .c, .d, #f, #2 { background-color: black; }
Really hard to imagine. Of course, if you need to do this, go ahead, but I mean, sometimes they are just grouped, for no reason, just to be more mysterious ... like moodle ... hahaha.
We hope for help.
See ya.