View Full Version : How do you make Style Sheets cascade?


Aster
08-11-2003, 01:19 AM
I have a style sheet, and it's actually working now, but there are a couple of pages where I want the same font and link styles but different backgrounds. Since Style Sheets overide HTML, I can't figure out how to get these new backgrounds; apperently there's a way to write an individual style sheet that partially overides the other one. Does anyone have an example of what this is supposed to look like?

stargrl329
08-11-2003, 01:44 AM
put this in your head tag when you want to override the external stylesheet background settings.

<style type="text/css">
body{ background-color:COLOR; background-image:url(URL); }
</style>

just replace COLOR with a color name or code, and URL with the filepath of your background picture.