A select box's border color in Internet Explorer just won't change. A text box's border color changes but not a select box's.

I'm using:

border: 1px solid #000000} 

It changes in Opera, Safari, and Firefox, but not Internet Explorer 8. Why?

6 answers

danwellman 3775
1
point

Try setting the individual border styles, e.g. border-top:1px solid #000000; « this works for me in IE8

Answered 10 months ago by danwellman
  • what do you mean individual styles? like two border size, then next line put border color? how do i specify the border color on a different line? canyonchase1 10 months ago
0
points

what do you mean individual styles? like two border size, then next line put border color?

Answered 10 months ago by canyonchase1
  • Please use comments when leaving replies or comments to an answer. To leave a comment, click the "Add a comment" link below the answer you're replying to. Thanks. Matthew Brindley 10 months ago
danwellman 3775
0
points

no, sorry, I mean the individual borders themselves - left, top, right, bottom:

select { border-left:1px solid #000000; border-top:1px solid #000000; etc }
Answered 10 months ago by danwellman
  • heres the code im using #SELECTb {border-color: white; width: 190px; position:absolute; left: 482px; top: 90px; border-top: 1px solid #000000; border-right: 1px solid #000000; border-left: 1px solid #000000; border-bottom: 1px solid #000000} its not working in IE8. why isnt it working? canyonchase1 10 months ago
0
points

It always pays to avoid using reserved words in class and id names. Although the namespaces should be independent, strange bugs can happen. So try changing id="SELECTb" to something different.

Answered 10 months ago by Richard Grevers
Aziz 10
0
points

Duplicate

According to this, you need to set the doctype for the page.

Answered 10 months ago by Aziz
-1
points

Some browsers just don't like styling form controls. without seeing all your css and html this question isn't really answerable.

show us the code.

see: http://www.456bereastreet.com/

Answered 10 months ago by Tony Crockford
Log in to post your answer