CSS layout question.
CSS layout question.
Out of context: Reply #3
- Started
- Last post
- 10 Responses
- hulja0
actually that's not how you want to do that. the css file will be much larger than necessary and will take longer to load (yes, milliseconds to matter, especially for those still on dial-up)
the best thing to do is to have a css file made for all pages and then add a tag into each page you want a different background with the 'body' element.
body { background-image: url(../img/bkgrd.gif); }
That way, you minimize the css file size and make it much easier to maintain (if you can remember what page background2 class belongs to in 6 months, consider yourself semi-gifted).
my advice.