View Single Post
Old 11-09-2013, 02:13 AM   #17
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: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by pargoo View Post
I'm happy to report problem solved I now have a justified story with nice neat margins and paragraph indents. Now I just have to get some small lines of text centered with the left-hand side lined up strait...using 'center' aligns them nicely, but with ragged edges on both sides.
Use a centered div with an internal div/paragraph which is left aligned. Like this:
Code:
.outer {text-align:center}
.left {text-align: left; width: 50%; }
for CSS (pay attention to the width!)

Code:
<div class="outer">
<p class="left">This text will be left aligned in a centered block that contains it.</p>
</div>
for HTML.

Last edited by Toxaris; 11-09-2013 at 02:24 AM.
Toxaris is offline   Reply With Quote