Hello
Is there a way to align text on both sides in an HTML document?
Hello
Is there a way to align text on both sides in an HTML document?
Hello
Yes!
Here is the CSS code.
p.right{text-align: right}
p.left{text-align: left}
and then the html
<p class="right">
This text is aligned to the right
</p>
<p class="left">
This text is aligned to the left
</p>
Hope this helps
later
Johnny
Or did he mean :
p{ text-align: justify;}
Paul
Hello
Or did he mean :
Code:
p{ text-align: justify;}
Paul
That makes more sense. Ha Ha.
Later
Johnny