Input Field Background Color Problem

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Kman
Posts: 3
Joined: Sun Apr 09, 2006 9:56 pm

Input Field Background Color Problem

Post 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
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
Kman
Posts: 3
Joined: Sun Apr 09, 2006 9:56 pm

Post 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?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
Kman
Posts: 3
Joined: Sun Apr 09, 2006 9:56 pm

Post 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.
Post Reply