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

Is it possible to format the text inside an HTML input text control? 1

Status
Not open for further replies.

billdvldog

Programmer
Sep 6, 2001
43
I have a page that allows users to update information in a database. I pull the information that's there and place it in text boxes (input type=&quot;text&quot; value=&quot;<%=variable%>&quot;) in a form. They can make any changes necessary and submit those changes.

Everything works fine, but I'd like to be able to control the size of the text if at all possible.

Thanks!

Bill
 
use CSS make a style for the input box

input.unedit {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #999999;
border: 1px outset #0066CC;
background-color: #F3F5F5;
}

<input type=&quot;text&quot; value=&quot;<%=variable%>&quot; class=&quot;unedit&quot;>

<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top