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

Need help in the world of technology? Here is the section for you, or talk about your favourite tech related topic, or what is new in the world of tech here.
Post Reply
User avatar
froggyboy604
Anime music gaming Fanatic
Posts: 37514
Joined: Thu Aug 18, 2005 11:28 pm
Contact:

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

Post 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.
User avatar
Skeithex
Has no home to go to
Posts: 29480
Joined: Wed Oct 31, 2007 4:20 am
Location: In your computer!
Contact:

Post by Skeithex »

I would use what is most recognizable and easy to use.
SetoTK
Low flying mountains just to the right.
Posts: 5093
Joined: Tue Aug 16, 2005 8:34 pm
Location: localhost
Contact:

Post 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
I never really understood Thursdays.
Post Reply