/    Sign up×
Community /Pin to ProfileBookmark

some form elements getting a peach background in IE

IE never seems to confuse me. This time it’s with form elements. And this time it’s totally even more bazzaar than anything I’ve ever had to deal with.

When I create a form some of the elements get a peachy background while others have a white background. Usually the first two get the peach background and the rest are white. Here’s my code:

<form name=”testForm” id=”testForm” action=”test.php” method=”post”>
<input type=”text” name=”firstName” id=”firstName” /><br />
<input type=”text” name=”lastName” id=”lastName” /><br />
<input type=”text” name=”middleInit” id=”middleInit” /><br />
<input type=”text” name=”occupation” id=”occupation” /><br />
</form>

What’s going on? How do I fix this? I’ve tried setting the background-color to specifically white like this:

<style>
input {
background-color: #ffffff;
}
</style>

but still getting the peach background.

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@mark_yiehauthorNov 06.2006 — Scratch that last post. I just asked a co-worker about it and it turns out that the Google toolbar is causing this little issue. Google toolbar recognizes the "firstName" and "lastName" input fields and automatically colors the background for these forms peach. Hope that helps someone out there.
×

Success!

Help @mark_yieh spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...