Can anyone post the code changes necessary to change bgcolor

dnaGRIM

Joined: 2002-11-02
Posts: 2
Posted: Sat, 2002-11-02 02:50

I edited the style sheet files and still the color is not black (the bgcolor I am going for)

I am assuming that background-color and color should set my bgcolor to black. It works on all other pages but not the initial page. check it here:
http://www.bandofeight.org/gallery/

following pages are correct, check it here:
http://www.bandofeight.org/gallery/Miniatures-and-Modeling

This is what my standalone_style.css looks like:
/*
default text styles - background and colors overriden by
album 'bgcolor', 'background', and 'textcolor' properties.
*/
BODY
BODY
{ background-color: #000000;
color: #000000;
scrollbar-face-color: #000000;
scrollbar-highlight-color: #5b7755;
scrollbar-3dlight-color: #a1b79c;
scrollbar-darkshadow-color: #2b3328;
scrollbar-shadow-color: #2b3328;
scrollbar-arrow-color: #fbffd5;
scrollbar-track-color: #000000;
margin-top:0;
margin-left:0;
marginwidth:0;
marginheight:0;
}

TD, P
{
color: #000000;
}

Any specific help?

dannygrimes

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Sun, 2002-11-03 07:50

Hi there

I just took a quick look at your source code and d/l'd your standalone_style.css - it looks like you either loaded your new style sheet in the wrong place or forgot to load the new one - the one I saw still contains the default styles.

The reason that the other pages are showing the black background, etc is that you have used embedded styles - see below:

----------
<head>
<title>Danny's Gallery :: Warpt Impressions</title>
<link rel="stylesheet" type="text/css" href="http://www.bandofeight.org/gallery/css/embedded_style.css.default">
<link rel="stylesheet" type="text/css" href="http://www.bandofeight.org/gallery/css/standalone_style.css"> <style type="text/css">
A:link, A:visited, A:active
{ color: 7996aa; }
A:hover
{ color: #ff6600; }
BODY { background-color:black; }BODY, TD {color:white; }.head {color:white; }.headbox {background-color:black; } </style>
</head>
----------
I pulled that from one of the pages that you said were showing the black background correctly.

So, you could just carry on and do the same thing for the album.php file and it would then have the same attributes.

Does this help?