Page 1 of 1

Color Background

PostPosted: Sun Jan 25, 2004 4:18 pm
by alberto_barrios
Where in the CSS code can I find the instruction for a color background for all the page ???
Thanks in advance
Albert

PostPosted: Sun Jan 25, 2004 5:51 pm
by ilanphoto
Within the body declaration add something like this
color : #888888;

it should look like the following with any other definition you want to make

BODY
{
margin-top: 0px;
top: 0px;
color : #888888;
}

were #888888 is the colour code you can use black, white, red and some other names instead of the code

PostPosted: Tue Jan 27, 2004 7:52 am
by canadiancraig
Color sets the text color for the page. What you want is the background property, so it would be:
Code: Select all
body {
  color: #FFFFFF;
  background: #000000;
}

And this would give you a black background with white text.

PostPosted: Tue Jan 27, 2004 9:59 am
by ilanphoto
OOOOPPPPS :oops:

I must have copied the wrong segment
Sorry
Ilan

Color Background

PostPosted: Fri Jan 30, 2004 2:14 pm
by alberto_barrios
Pals,

OK
It works !!
Thanks