Author |
Topic  |
|
Ariel_UK
Starting Member
United Kingdom
4 Posts |
Posted - 08 October 2003 : 11:48:36
|
I'm trying to set up a forum that fits into a relatively simple page layout that has a screen-centred column, 700 pixels wide, with a custom header and footer, on a black background.
I'm not having too many difficulties adjusting the appropriate widths from 100% or 95% to a fixed 700 pixels, or in coding the header and footer into the inc_header.asp and inc_footer.asp files, but OMG I'm having an unholy hell with the bgcolor...
I thought that I could use <body bgcolor=black> to set the background, and that the STRPAGEBGCOLOR variable would take care of the background colour in the actual forum cells.
How wrong I was.
It seems that numerous <td> elements have been left without a bgcolor specified at all, so that instead of using the STRPAGEBGCOLOR variable, they just inherit the main <body bgcolor=black> command and I end up with huge swathes of black intruding into the forum area, usually in the folder trees, where dark blue links then don't show up so well.
So, before I try to go through every single .asp file to find all the <td> elements and introduce the necessary bgcolor=""" STRPAGEBGCOLOR """ commands, can anyone tell me...
1) Is there a Mod that will take care of this for me?
2) Is there a list of all the files I need to amend somewhere?
or
3) Is there actually a good reason why the STRPAGEBGCOLOR variables weren't included in the first place?
...or did someone just forget? 
|
www.thealienonline.net, sf, fantasy, horror and comics fans always welcome |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 08 October 2003 : 12:14:00
|
STRPAGEBGCOLOR is for the page (body) background, which you said you want to be black.
The other backgrounds are for the tables and such. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
Ariel_UK
Starting Member
United Kingdom
4 Posts |
Posted - 08 October 2003 : 15:54:03
|
Yerss... but the point I'm making is that some of the table elements don't have any bgcolor element specified, and so inherit the first bgcolor variable they find... which, if you don't specify the <body bgcolor> will be the STRPAGEBGCOLOR variable.
So if I set that to black, I end up with a whole bunch of rogue black shading.
I'll show you what I mean. I'll change the STRPAGEBGCOLOR variable to black for the forum I'm working on (www.timlebbon.net/forum), and you can see what happens...
I've already manually specified some of the <td> elements to have the required (#F9F1DF) background colour by editing the appropriate .asp files where I can, but as you can see, I haven't edited them all, and so some other cells have inherited the STRPAGEBGCOLOR variable, which is currently black.
Whereas if those cells were coded to use the STRPAGEBGCOLOR variable in the first place, then I could set that to #F9F1DF, and set the <body bgcolor=black> instead.
That way the page background would be black, but the actual table cells would be the #F9F1DF STRPAGEBGCOLOR...
Yes? No? Am I going mad? |
www.thealienonline.net, sf, fantasy, horror and comics fans always welcome |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 08 October 2003 : 16:42:01
|
a table cell will inherit the color set for the table itself.
looking at your webpage, it would seem to me that you want to set the default font color to something light and the in forum font color to the navy blue color. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 08 October 2003 : 16:49:01
|
the table cells that you are referring to are meant to use the page background color and default font color (the title and navigation parts, the folder structure, and a few parts at the bottom).
If what you are wanting instead is for those areas to use the in-forum colors then yes, you will need to modify the code like you have been doing. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
hellind
Junior Member
 
Singapore
123 Posts |
Posted - 05 March 2004 : 01:16:30
|
Why dont you enclose every page with another table with the required bgcolour and set the width to say 95%, this is much faster and easier than look for every <td> and adding the code.
I did it and is working |
 |
|
|
Topic  |
|
|
|