Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing form element sizes…???

Status
Not open for further replies.

Albuckj2

Programmer
Jan 7, 2003
68
GB
Hi,

Does anyone know if there’s a way to reduce the size of drop-down menus?
i.e.) the actual box that is produced
Can you make them smaller?

Also, can you change both the type and size of the text within a textbox?? How?
And what about the size of form buttons, and the type and size of the text on the button?

Cheers for any help.
 
all form elements' styles can be controlled with css:
[tt]
<select style=&quot;font:bold 24px sans-serif;width:150px;&quot;>
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
</select>

<input type=&quot;button&quot; value=&quot;Click Me&quot; style=&quot;width:75px;height:75px;&quot;/>
[/tt]
the only caveat is that IE doesn't let CSS affect <select> border styles, but NS/Mozilla does.

=========================================================
if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top