I like to put separator line between items in ListBox control . With that separator line I want to make the ListBox look a like table with one column and many rows.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A basic approach would be to define a CSS style for the list box items:
This will add a gray border at the bottom of each listbox-element.
Note: this will apply to all listboxes on that page. If you need that style only for certain listboxes, then apply a CSS class to the listbox and change the CSS to apply only to those: