View Single Post
Old 02-14-2012, 02:39 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,850
Karma: 2417001
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by mmat1 View Post
Put the following code in the <head> section of you html-file:

<style type="text/css">
/*<![CDATA[*/
p { margin: 0 0; text-indent: 1em; text-align: justify; }
/*]]>*/
</style>

Every paragraph (including the first one) will use this. It will have a small indent and there will be no space between paragraphs.

Did this get you a bit closer to the formatting you want ?
Although fine in general, I would really recommend not doing this in an internal stylesheet, but rather a external. It makes formatting a lot more predictable and repeatable. It also saves size and makes it easier maintainable.
Toxaris is offline   Reply With Quote