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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing size of controls

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hi,

I was wondering how to make the height and width of the HTML controls ( e.g textboxes, comboboxes ) smaller. I need to set size of my controls similar to userid and password textboxes in home page.

Thanks in advance.
 
I see no very special FX on that hotmail page. Your font choice determines the size a lot. I use CSS to change controls. Eg: to make all buttons equal size.

This will create a red on yellow button, 20ex wide:
(as an example with <STYLE> tag, normally you'll put these in a CSS file)

<style>
.btn
{
background-color: yellow;
color:red;
width: 20ex
}
</style>
<form>
<input type=button class=btn value=Test109669>
</form>
br
Gerard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top