CodeChargenewbie
Posts: 114
|
| Posted: 11/15/2007, 9:30 AM |
|
Say I create a listbox in design view containing various values, each of which may different lengths. Is there a structure that exists in html to return the length of the maximum size the listbox will reach, so that I may plug said return value into the style property. Yes, I know I may set the width to anything I wish. That's not what I'm talking about there. I can stretch a listbox, textbox, whatever, in design view, but that doesn't tell me the width, in pixels. Is there such a method for returning width of a listbox, in pixels, using html?
Thank you in advance.
|