HTML <select> tag (aka DropDownList) do not suport BORDER style. But you can add border with a trick… by adding a SPAN/DIV tag around it with required style.

Here is the code:

<span style="border:solid 2px red">
<select style="border:solid 2px red">
<option>asdf</option>
<option>asdf</option>
<option>asdf</option>
</select></span>
VN:F [1.1.6_502]
Rating: 0.0/5 (0 votes cast)
Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • DotNetKicks
  • LinkedIn
  • Live
  • MySpace
  • StumbleUpon
  • Technorati

Related posts:

  1. Build DateTime from values
  2. Blog Syntax highlight
  3. What is the difference between CAST and CONVERT in SQL?
  4. Reorder listbox items with JavaScript and ASP.NET
  5. Ajax simpleeee….