javascript document execCommand( )
| execCommand( ) | NN n/a IE 4(Win) DOM n/a |
|
execCommand("commandName"[, UIFlag[, value]]) |
|
|
Available only in the Win32 platforms for IE, the execCommand( ) method executes the named command. Most commands require that a TextRange object be created first for an insertion point. |
|
| Parameters | |
|
|
| Returned Value | |
|
Boolean value: true if command was successful; false if unsuccessful. |
|

How about using CSS?
<select style="width:20px">