Forum Moderators: not2easy

Message Too Old, No Replies

select box border in MSIE

         

Glipko

9:18 pm on Jun 24, 2003 (gmt 0)



Is it possible to change border of select box in MSIE 5.x?
I mean something like:
SELECT {
border-style: solid;
border-color: #ffffff;
border-width: 1;
}

It works in Opera (7.x) and Netscape (6.x) but not in MSIE (tested 5.0 and 5.5)

BlobFisk

9:23 pm on Jun 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Glipko!

I don't think so. IE only allows you to change the background colour of select/option elements, whereas other browsers also allow for the styling of the text. So, I'd say that IE doesn't support the border on select either. :(

As an aside, you can use some CSS shorthand to replace the 3 border stylings you have above:

border: 1px solid #fff;

HTH

edit_g

9:24 pm on Jun 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nope. Just tested it - doesn't work.