Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Change the width of the <Select> control


Message #1 by peterv@m... on Mon, 11 Feb 2002 19:16:22
Hi Peter,

You cannot change the width using just HTML. You have to use a stylesheet.
The code would be something like:
  <select style="width:150;">
  .
  .
  </select>
to make the width 150 pixels

> What attribute should I apply in order to change the width of the 
<Select> 
> control and not to use the default that is the width of the widest row?
> Thank you.
> Peter V.

regards
Philip
-------------------------
dhtml_phil@p...

  Return to Index