Quote:
Originally Posted by Tarana
Thanks all! I used <blockquote> </blockquote> and that worked perfectly.
From http://www.w3.org, I found a centering technique.
For center allignment, I used:
<DIV align="Center">
<P>...text in first paragraph...
<P>...text in second paragraph...
<P>...text in third paragraph...
</DIV>
|
It's best to keep things XHTML-compliant, which means use lowercase for tags (<div> and <p>, not <DIV> or <P>) and close all tags properly (so <p> needs a closing </p>). Tags like <br> and <hr> with no content should either be written <br></br> and <hr></hr>, or (better) <br/> and <hr/>.
IIRC, "align" attributes are deprecated these days, so it's better to use <div class="centered"> and then have a CSS rule:
.centered { text-align: center; }
...and then you can also add any other formatting you want for "centered" divs inside the braces {...}