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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<select> with horizontal line

Status
Not open for further replies.

maxpower1

Programmer
Jul 29, 2001
488
US
is it possible to separate each line in a listbox using a horizontal line so that it looks like a grid app? I am using <select> with size=40 so it will display 40 lines of data.

thx
 
Try using a CSS class with a bottom and top border and then call your select option with the class:

Code:
<select>
  <option class=&quot;bordered&quot;>a</option>
  <option class=&quot;bordered&quot;>b</option>
  <option class=&quot;bordered&quot;>c</option>
  <option class=&quot;bordered&quot;>d</option>
</select

Cheers,
[monkey] Edward [monkey]

&quot;Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!&quot; -- inventor of the cat door
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top