Can't figure out this one.
Text I enter into my textarea, doesn't break the lines.

CSS:

#description{ 
	float:right;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #afd45a;
	width:260px;
	height: 90px;
	margin:0px 20px 20px 6px;
}

HTML:

<input type="textarea" name="description" id="description" rows = "4" cols = "25"/>

Recommended Answers

All 3 Replies

<textarea name="qwerty" rows = "4" cols = "25">
</textarea>

Absolutely worked!
Thank you!

This is a smart forum..
hey just googled for Textarea line break and found this forum..
hope i will like this place.. thanks

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.