Board index PBase HTML and Style Sheets Color Background

HTML and Style Sheets

Color Background

Customize your galleries.
alberto_barrios
 
Posts: 5

Color Background

Post Sun Jan 25, 2004 4:18 pm


Where in the CSS code can I find the instruction for a color background for all the page ???
Thanks in advance
Albert

ilanphoto
 
Posts: 876


Post Sun Jan 25, 2004 5:51 pm


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

canadiancraig
 
Posts: 11


Post Tue Jan 27, 2004 7:52 am


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.

ilanphoto
 
Posts: 876


Post Tue Jan 27, 2004 9:59 am


OOOOPPPPS :oops:

I must have copied the wrong segment
Sorry
Ilan

alberto_barrios
 
Posts: 5

Color Background

Post Fri Jan 30, 2004 2:14 pm


Pals,

OK
It works !!
Thanks


Board index PBase HTML and Style Sheets Color Background

Who is online

Users browsing this forum: ClaudeBot and 0 guests