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

Recommended Answers

All 2 Replies

Use style attribute like this:

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

<input type='text' name='something' style='font-size:14px;'>
commented: Do not bump several years old threads and certainly not with not useful information +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.