DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   HTML input text size (http://www.daniweb.com/forums/thread122481.html)

still_learning May 5th, 2008 2:25 am
HTML input text size
 
Hey guys,

Got a quick question for you. If I have an text input field for a search engine and I want the font to be larger, how would I do this? Right now changing the size attribute only changes the length of the field. Here is my code right now:

<input size='36' type="text" name="find" />

What would I have to add in here to make the text bigger? Thanks

Luckychap May 5th, 2008 3:42 am
Re: HTML input text size
 
Use style attribute like this:

<input type="text" style="font-size: 40px;" name="find">


All times are GMT -4. The time now is 10:33 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC