Artician Home
Join Artician Login Search
Today This Week Mark All as Read Feeds
 

The background background behind CSS

User is offline
inception8 posted Apr 2 2008, 10:39 PM:
Hi,
Whoever happens to see this.

Where in the CSS code is the actual physical background color of the page itself; ie. outside the CSS tables. The white area.

I'm using the Freestyle Plus skin.

I want to be able to change the color. I don't know where in the code it is located to change that. I probably could do it reapeatedly in trial and error until I figure it out but if someone happens to know exactly where it's located it sure would be nice if you could point me in the right direction. I'm pretty much CSS illiterate.

Thanks alot.
D.
Post 1
Artician Developer
User is offline
Eric posted Apr 2 2008, 11:38 PM:
The very first style in your skin should be for the "body" tag.

Currently the background styling for the body is:
background: url(/images/userpage/skin/freestyle_plus/page_bg.gif) repeat-y center;

You can add a color here along with the existing background image styling by using:
background: #000000 url(/images/userpage/skin/freestyle_plus/page_bg.gif) repeat-y center;

Noticed I added a hex color. This will use the color, along with the image. If you only want to use a background color, you can replace the first like I pasted with:

background-color: #000000;


--------------------
Artician Developer Management
Post 2
User is offline
inception8 posted Apr 3 2008, 12:02 AM:
QUOTE(Eric @ Apr 2 2008, 11:38 PM) *

The very first style in your skin should be for the "body" tag.

Currently the background styling for the body is:
background: url(/images/userpage/skin/freestyle_plus/page_bg.gif) repeat-y center;

You can add a color here along with the existing background image styling by using:
background: #000000 url(/images/userpage/skin/freestyle_plus/page_bg.gif) repeat-y center;

Noticed I added a hex color. This will use the color, along with the image. If you only want to use a background color, you can replace the first like I pasted with:

background-color: #000000;


Rockin'. Thanks very much bro. Soon as I finish eatin' will try it out. Much appreciated. smile.gif
Post 3
 
« Previous Topic Next Topic »

Topic Tags: None Description: Who's Reading: 2 User(s) 0 Members:

Browse Without Ads!