white space pre-wrap formatting

when you want to preserve line breaks in plain text without having to add br tags or p tags.

HTML

<p class='white-space-pre-wrap'>
this p tag will keep all the spaces you add
with no additional <b>br</b> tags required.





so you can add formatting easily! :P
					it will even <u>preserve</u> tab's
</p>

CSS

.white-space-pre-wrap {
	white-space: pre-wrap;
}

this p tag will keep all the spaces you add with no additional br tags required. so you can add formatting easily! :P it will even preserve tab's

External Link for white space pre-wrap formatting

Other Items in css
Page Views

This page has been viewed 337 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

âĪðŸ‘Đ‍ðŸ’ŧðŸ•đ

Random Quote
All of humanity's problems stem from man's inability to sit quietly in a room alone, wrote Blaise Pascal.
Unknown