Re: Select Box look and feel not changed on size attribute

Neil <[email protected]>
Newsgroups gmane.comp.mozilla.devel.editor
Message-ID <[email protected]>
[email protected] wrote:

>If i set the size attribute with multiple=multiple to the Select Box, i am not able to select the options (expected behavior) but look and feel wise there is no difference, i.e select box is not getting grayed out as like without size attribute?
>How come size attribute is making the difference in the graying out the Select Box. Is it the expected behavior?
>  
>
No, this is a bug.

>But my requirement is select box also should gray out . Is there anyway i get the look of feel of disabled for the select box using CSS? Please any help is highly appreciated.
>  
>
select[multiple][size][disabled] {
    color: GrayText;
    background-color: ThreeDFace;
    cursor: inherit;
}

-- 
Warning: May contain traces of nuts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.