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!

Change size of input boxes

Status
Not open for further replies.

Gill1978

Programmer
Jun 12, 2001
277
GB
Hi!
I've set the size of input boxes through a css using:

input { width: 80px; height: 19px; font-size : xx-small; }

But i'm trying to change the one of the input boxes to a larger size, how do i change the size for juat that one box.

<td width=&quot;10%&quot;><input style=&quot;transparent&quot; type=&quot;text&quot; name=&quot;BrokerName&quot; tabindex=&quot;&quot;></td>

Also, the css code used for the above has also changed the size of the buttons, (how do i stop that from happening).

Thanks

Julie
 
Inline CSS should overwrite what you have so just:

<td width=&quot;10%&quot;><input style=&quot;width: 80px; height: 19px; font-size : xx-small;&quot; type=&quot;text&quot; tabindex=&quot;&quot;></td>

or

<input style=&quot;transparent&quot; id=&quot;special&quot; type=&quot;text&quot;>

This goes in head if you use the above example:

<Style>
<!--
#special
{
Font-size: xx-small;
Width: 80px;
Height: 19px;
}
//-->
</Style>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top