Click to See Complete Forum and Search --> : Set lengths for multiple select lists...


scott9614
08-12-2003, 10:12 PM
I think I may have seen this before, but have been looking for a couple of hours and can't seem to relocate....

I have mutiple selection lists, is there anyway I can specify their widths, so they are all the same regardless of the length of text inside?

Still new to javascript examples of code would be greatly appreciated.


Thanks,


Scott

Khalid Ali
08-13-2003, 01:43 AM
put this in the head section of your html page

<style type="text/css">
select{
width:200px;
}
</style>

the above will force all select elements to be of 200 pixels wide