PDA

View Full Version : background color


ultraman
02-26-2004, 07:34 AM
Hi everybody. Everything's working just fine, nice script!

I use the simple template which I've modified with my logos etc... but I'm unable to put the background of the results table white.

My body background is grey and I need the results to be on a white bg.

Any idea?

thanks.

vinyl-junkie
02-26-2004, 07:10 PM
It's been a long time since I changed mine, but as I recall you change it in the styles.css file. Specifically, change these two classes from:
.phpdigHighlight { color: #000000;
background-color: #FFBB00;
font-weight: bold; }
.phpdigMsg { background-color: #000066;
color: white;
font-weight: bold; }
to:
.phpdigHighlight { background-color: #FFFFFF;
font-weight: bold; }
.phpdigMsg { background-color: #FFFFFF;
font-weight: bold; }
Hope this helps. :)

ultraman
02-27-2004, 04:45 AM
No cigar. I've tried that withtout succes.

Thanks anyway.

vinyl-junkie
02-27-2004, 06:53 PM
Sorry about leading you astray. I've been refreshing my memory this evening on how I first customized the look and feel.

You'd be better off, I think, taking the default template that phpdig uses, which is templates/phpdig.html and modifying that. The reason is that it has all your style sheet information right there for you to work with. In that file, you want to change the attributes for the class called greyForm. What I'd do is make one change at a time and then upload it to the server. That way, you know which thing you changed, especially if you don't like the results.

Let me know if I'm still way off base with this, and I'll be glad to look at it some more. :)