when using an external style sheet...

Walleye

Banned
Dec 1, 2002
7,939
0
0
Originally posted by: WinkOsmosis
Change the body tag.

i'm trying to do it with an external style sheet so that i only have to change one thing if i want to change the whole site. it's gonna be awesome, i just dont know how to do it...
 

IcemanJer

Diamond Member
Mar 9, 2001
4,307
0
0
you have to use the HTML 4.0 strict DTD for your pages, and just add a:

body { color: white; }

in your external CSS.
 

Walleye

Banned
Dec 1, 2002
7,939
0
0
alright, i got that working...


here's my external style sheet now...

BODY {font-family: ariel; Font-style: bold; color: white;}
BODY {background-color: #000000}
BODY {background-image: bg.gif}


i cant figure out for the life of me why my background image isnt working...
 

IcemanJer

Diamond Member
Mar 9, 2001
4,307
0
0
you can combine all that into just one BODY {} group.
it's "background-image: URL(bg.gif);"

you need to have a semi-colon at the end of each rule, ie. "background-color: black;"

and.. GAA.. the entire website's font is bolded? how large is the font? You need to define that too ("font-size: 10pt;" etc.).