site version 5.25.32
HTML and CSS –– fluid textarea


Date Written: 5/31/08 Last Updated: 3/10/10

Just an example of fluid textarea.

<style type="text/css">
textarea {width:50%;}
</style>

<div style="width:100%;text-align:center;">
<textarea name="quote" rows=5 style="width:50%;"></textarea></div>



demo




To set the length of input type=text add a value like size=45.  For example:
<input type='text' size=75 name="location" value="Hi">



You can learn more about CSS and Textarea here.

TAGS: programming, css, html
Comments

Add Comment
 
Daily Bible Quote
#11 of 44

"He who covers a transgression seeks love, but he who repeats a matter separates friends."
Proverbs 17:9
10 most recently updated articles.

Webcomics
9 hours ago.
Site version
1 day ago.
Palmer links
1 day ago.
Politics
1 day ago.
Editor Changelog
2 days ago.
copyright 2005–2010