gabz0rella
09-30-2005, 12:57 AM
im sure this is really simple but i dont know how to put a bar of colour behind p/h/b tags, like this..its hard to explain but youll see and you'll know what i mean how do you get it? hereeee (http://www.sugarlove.kayakgirl.net/)
mzhao
09-30-2005, 12:58 AM
You're right, I don't get it.
gabz0rella
09-30-2005, 01:00 AM
you see the blue behind the headings, like ..abouther*
..thelayout*
..links*
..quickthanks*
how do you get the like, colour behind it?
mzhao
09-30-2005, 01:06 AM
The code in that site is horrid, but:
element { background: color; }
For example, p { background: #fff; } will make all your <p> tags have white backgrounds.
gabz0rella
09-30-2005, 01:07 AM
it would be in the stylesheet, like, it'd be something like <p=(whatever its called) > i dunno, im new to html but i really wanna know
mzhao
09-30-2005, 01:08 AM
it would be in the stylesheet, like, it'd be something like <p=(whatever its called) > i dunno, im new to html but i really wanna know
For an inline style, it would be <p style="background: color;">text</p>