Page 1 of 1

Input Field Background Color Problem

Posted: Sun Apr 09, 2006 10:26 pm
by Kman
Script URL: http:\\www.thekitchenparty.com\guestbook\gbook.php
Version of script: 1.35
Version of PHP: 4.3
Hosting company: http:\\www.e-rice.net
Have you searched THIS FORUM for your problem: Yep!
(if not please do before posting)
If so, what terms did you try: Input Field Background Color

Write your message below:

Hello,

I love the script! Only having one little problem - after clicking on "sign the guestbook", the "Name" and "E-mail" input fields first are green, as I want them to be, but then change to yellow. I'm assuming that is because they are required fields? I know I've changed them correctly as they show up for a split second with the correct color. How can I disable they from turning yellow? My text color is white, they are currently unreadable. Here is a pic of the problem:

http:\\www.thekitchenparty.com\field_background_color_problem.jpg

Thanks!

Kevin

Posted: Mon Apr 10, 2006 5:55 am
by Henrie
Hello Kman,

I tested in Firefox 1.5 and Internet Explorer 6.0 and it all looks fine (everything is green).

As far as I can remember it is a Internet Explorer browser setting, I just can't remember which setting. So I don't think you can correct the setting in your page. The user must change it's browser setting to see your page the way you want it.

Greetings,
Henrie

Posted: Wed Apr 12, 2006 9:29 pm
by Kman
Thanks.

If anyone has any idea what that setting and wouldn't mind helping me out I would appreciate it, I didn't have any luck.

If not, would you happen to know what line I have to specifically change to change the text in the input fields to black?

Posted: Wed Apr 12, 2006 10:09 pm
by Henrie
Hello Kman,

I used Google to help you.

The yellow color is is caused by having the Google Toolbar installed and the AutoFill option enabled.
Here's a link with more information about the Google Toolbar problem and how to solve it http://code.jenseng.com/google/.

For black text find this part in the style.css file

Code: Select all

INPUT {
	font-size: 11px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	color:#000000;
	background-color:#FFFFFF;
}
The color:#000000; is the black color of the text. By changing the value of #000000 you can get different text colors.

Greetings,
henrie

Posted: Thu Apr 13, 2006 6:27 pm
by Kman
Thanks a lot! I'm a rookie at this stuff but I'll try my best at inserting that code mentioned in the link.