PDA

View Full Version : DropDown Menu Border color



NirupamaV
08-19-2008, 08:07 AM
Hi

i want to know how to change the border color for a drop down list(List/Menu) in css?

If i change the border color in css, Firefox supports but Internet explorer is not supporting.

Any Solutions?

Regards
Nirupamavinoth

Nile
08-19-2008, 07:10 PM
What drop down menu are you using? Please include a link to it, and a link to your page with the problematic code.

NirupamaV
08-20-2008, 04:44 AM
hi

Please see the attached image. This is the dropdown menu which i am using.
I want to change the bordercolor of this, ie the border of that dropdown and the arrow color also to my design look and feel.

Regards
Nirupama

TheJoshMan
08-20-2008, 08:27 PM
<style type="text/css">
select{
border:1px;
border-style:solid;
border-color:#ff4400;
}
</style>

JShor
08-21-2008, 02:33 AM
<style type="text/css">
select{
border:1px;
border-style:solid;
border-color:#ff4400;
}
</style>



or.. you could just use


<style type="text/css">select{ border: 1px solid #ff4400; }</style>


:-P

NirupamaV
08-21-2008, 04:57 AM
Hi

I am not able to understand your solution. Can u Please tell me where i have to paste this code and will this change the border color of the dropdown?

TheJoshMan
08-21-2008, 04:59 AM
paste either example we gave you in the "head" of your page... In other words, somewhere between these two HTML tags <HEAD> & </HEAD>

NirupamaV
08-21-2008, 05:03 AM
Yes Its working....!!!! Thanks a Lot!!!

NirupamaV
08-21-2008, 05:04 AM
But this will not support IE? Bec in IE the border color is not changing. Its working only in firefox.

Regards
Nirupama