Hey everyone, I was just wondering how web developers use oversized text fields in forms, is it simply to increase the height of the text box and the input text is large as a result of a CSS definition?

Recommended Answers

yes, cols="" and rows="" in textarea boxes will also make it bigger. CSS is what most use to change input sizes though.

Jump to Post

All 4 Replies

yes, cols="" and rows="" in textarea boxes will also make it bigger. CSS is what most use to change input sizes though.

Ok thanks, I dont actually want to increase the number of rows though, just have larger more modern appearance text fields. Sorry maybe I havent explained myself very well, this link is an example, the login text fields are larger than standard ones?
http://wob.li/2v

Right from the source:

<input style="width: 200px;" name="email" size="30" maxlength="200" value="" type="text">
<input style="width: 200px;" name="password" type="password">

Yes, you use CSS

width: 100px;
height: 100px;

And to make your own design make your own image and set it as the background:
border: 0
background-color: transparent;
background-image: url();

Great thank you

Be a part of the DaniWeb community

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