View Single Post
Old 08-23-2015, 09:54 AM   #11
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 583
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by Tarana View Post
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 {...}
Phssthpok is offline   Reply With Quote