Hi TS,
From your description, you're using an html <select> list to display some
text data list. Since each select option will display two data field,
you're looking for a way to better format the options so that those options
are aligned correctly(like table) vertically, correcct?
Regarding on this issue, I've performed some tests. It seems the <select>
list's <option> item is quite limited that we can add little inner html to
format the text in it. At least, html <table> cannot be used in <option>.
I've also tried using <div>, it can be embeded into it, however, setting
the width also not quite work. I'm thinking whether we can do the length
formatting at data level. For example, for the data items you will bind to
the <select> list, it is possible that you format the text data before bind
to <select> list? For example, you can append html space ( 

to each
text so as to fill them as a fixed width?
Or you can look for some customized rich dropdownlist approach:
#Rich List Controls in ASP.NET
http://www.codeproject.com/KB/custom-controls/RichListControls.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------