[SOLVED] - Change HTML control styles

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

[SOLVED] - Change HTML control styles

Post by anjanesh »

I have a select control:

<SELECT NAME="Sel1">
<OPTION VALUE=0>Val 1</OPTION>
.
.
.
.
</SELECT>

I want the display of the control border to be changed - not the font size etc. For example I want ir borderless. BORDER=0 doesn't seem to work. I looked up all possible values for STYLEs but no result.
Any ideas for this method ?
Thanks
Last edited by anjanesh on Thu Jul 29, 2004 3:21 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

from experimentation a while ago, the select itself will not change styles, the individual options can change style though.. You'll need to build your own drop-down using DHTML.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Thanks

Post by anjanesh »

Thanks
Post Reply