Click to See Complete Forum and Search --> : Need help to display data in Tabular format on Selection box in HTML.


dileepkumar.p
04-14-2009, 10:43 PM
Hi
I have a requirement to display data in the selection box as tabular format in HTML.The selection box will have the multiple headings and data should be displayed exactly below the column headings.
Since data is dynamic i am unable to display the data in tabular format.The data in one column is overlapping the other column data.Is there any way to display the data in tabular format.
I am attaching the screen shot for your reference tried to pad with empty spaces(tried to pad with &nbsp) since i know the maximum value of each individual data size. But different characters are taking different count of pixels i am unable to pad properly with spaces.Please help me in this.

Fang
04-15-2009, 03:24 AM
Fix the font size:select {font-family: monospace;}
Since data is dynamic i am unable to display the data in tabular format. Why? Dynamic data is no different from static data.