Gossamer Forum
Home : Products : DBMan : Customization :

Form Field Colours

Quote Reply
Form Field Colours
Hey, my database has a black background and the font on the adding/modifying etc is black. How can I change this to white? Also, can I change the forms from the white background to black with a customized scroll bar?

- Bridget
Quote Reply
Re: [Bridget] Form Field Colours In reply to
I don't know anything about using a customized scroll bar, but to change the colors for the database just modify all the <body bgcolor="#DDDDDD"> calls within your html.pl file.

There you can add the bgcolor, link color, visited link color, and text colors.

Just do a search and replace if using the original html.pl file. You may still need to replace all the <td colspan=2 bgcolor="navy"> tags also.

If you switch to using the user friendly mod, you can set all your colors within just the html page_top and have it work for all the subs.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Form Field Colours In reply to
Yeah, I got that, but I want to change the colour and font of the fields. Take a look for yourself, lol, you can't read anything, when you add/view etc http://emeraldequestrians.com/.../events/dbman/db.cgi
Quote Reply
Re: [Bridget] Form Field Colours In reply to
Look in your script to see where you have your fonts defined, perhaps within your .cfg file.

They might also be defined within various subs, you may have to search to locate all.

but you can set default fonts within your .cfg file and then you would only have to change them in one place. For instance:

$font = 'font size="3" color="FFFFFF"';
$font_error = 'font size=2 color="FF0000"';
$font_title = 'font size="4"';
$font_small = 'font size="1"';

Hope this helps

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/