PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   background color (http://www.phpdig.net/forum/showthread.php?t=576)

ultraman 02-26-2004 07:34 AM

background color
 
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:
Quote:

.phpdigHighlight { color: #000000;
background-color: #FFBB00;
font-weight: bold; }
.phpdigMsg { background-color: #000066;
color: white;
font-weight: bold; }
to:
Quote:

.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. :)


All times are GMT -8. The time now is 03:50 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.