View Full Version : how do i get the colour behind the <p> writing...


gabz0rella
09-30-2005, 02:09 AM
how do i make my text (headings, p's) have this bar of colour behind them? herreeee (http://www.sugarlove.kayakgirl.net/)
where it says
..abouther*..thelayout*

..links*.quickthanks*..count* the coour behind that.

mzhao
09-30-2005, 02:12 AM
Why the double posting?

gabz0rella
09-30-2005, 02:14 AM
because i re-thaught it and it would be more appropriate in th css section,

mzhao
09-30-2005, 02:17 AM
I see.

The following code will make all <p> elements have white backgrounds (you can modify the hex code to whatever color):

p { background: #fff; }

gabz0rella
09-30-2005, 02:56 AM
ok thanks very much.

starlet
09-30-2005, 03:27 AM
In future please do keep it to one thread, if it is posted in the wrong section a moderator will shift it to the correct place no problems :)