开发者

Style disabled multiple select – google chrome

开发者 https://www.devze.com 2023-04-11 07:17 出处:网络
I’m trying to figure out how I can go about styling a disabled multiple select element, for google chrome so you can see the selected items.

I’m trying to figure out how I can go about styling a disabled multiple select element, for google chrome so you can see the selected items.

I’ve seem to have it working in:

Mac: firefox, safari and chrome PC: ie7, ie8, and开发者_如何转开发 firefox

It’s just the windows version of chrome that’s not working (see image).

Style disabled multiple select – google chrome

How can a go about change the foreground color, or the disabled selected color so you can read the selected text?

Thanks


I don't entirely understand your goal, but I ran into a similar problem in Chrome on Windows trying to style a select element (not disabled). The element was given a white background by the browser and I could not override it, until I tried this:

{ -webkit-appearance: none; }

And it worked! I hope this helps.

Source: Background Image for Select (dropdown) does not work in Chrome

0

精彩评论

暂无评论...
验证码 换一张
取 消