Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS for Select Box

Status
Not open for further replies.

hopelesscase

Programmer
Aug 12, 2005
1
GB
I've set my tables, textbox and all. But I can't configure the select box to use the CSS format. Can anyone help me change the look of the select box. I've tried:

<style type=&quot;text/css&quot;>
<!--
select.SELECT_BOX_CSS { color:#0000CC;background-color:#FFFFFF;font-family:'Verdana, Arial, Helvetica',sans-serif;
}
//-->
</style>

<select name=&quot;listClass&quot; class=&quot;SELECT_BOX_CSS&quot;>
...
...
</select>

It only applies to the font color and background. Can anyone help change the font, border and scrollbar bar of the select box. Thanks, I hope that anyone can help me.

 
get rid of the single quotes in you font-family attribute, that will sort out the font problem.

unfortunately you cannot colour the scrollers on a select box or change the border, its some kind of system control that does not give you access to the scrollers or border.

This is a common question on this forum, the usual answer is if you really need it done then you are gonna have to download someone elses select control (dhtml)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top