Page 1 of 1

[HTML code] <div style="text-align: center;"></div> OR <P ALIGN = CENTER></P> ?

Posted: Fri Aug 21, 2009 6:18 am
by froggyboy604
I'm not sure since <div></div> seem more popular when it comes to WYSIWYG editors, and CMS editors like Joomla, but a lot of tutorials online still use <P></P>

I normally use

Code: Select all

<P ALIGN = CENTER></P>


to save time whime editing HTML since

Code: Select all

<div style="text-align:center;"></div> 
is hard to remember and takes longer to type.

Posted: Mon Aug 24, 2009 12:15 am
by Skeithex
I would use what is most recognizable and easy to use.

Posted: Fri Aug 28, 2009 1:09 am
by SetoTK
you should really use <div></div> and add a <br /> to go down a line

<p></p> is still valid but it can play up and restricts control slightly