Brendon
Brendon

Reputation: 51

Disabled dropdown has a blue background

I am facing an issue in chrome 16.0.912 browser. My Disabled dropdown has a blue background. How can I remove blue background ? Is there any jquery or any css property ?

Upvotes: 3

Views: 905

Answers (1)

Martin Andersson
Martin Andersson

Reputation: 19563

This is a bugg in Chrome, see this URL:

http://code.google.com/p/chromium/issues/detail?id=89509

It happens because you have a background-image set to something or a background-color set to transparent. Two ways to "fix" this problem on the fly through css would be:

select:disabled
{
    background-image: none;
}

or

select:disabled
{
    background-color: white;
}

I really don't think there's a way for jQuery to address this problem.

Upvotes: 2

Related Questions