Quote:
Originally Posted by pargoo
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.