What should I use for centering (DIV or P) (fwd)

Once upon a time Heikki Vesalainen shaped the electrons to say...
>I'm making some HTML pages for the big public and I really don't know should I use 
><DIV ALIGN=CENTER> or <P ALIGN=CENTER>.

<P align=center> should be used if you want to center a paragraph of text.

<DIV align=center> is a universal container, since <DIV> doesn't do anything
itself (no white space, line breaking, etc) you can surround anything.  I
generally use <DIV align=center> to center images or tables since 
'align=center' doesn't seem to work on those entities yet.

-MZ
--
Although I work for Livingston Enterprises Technical Support, I alone am
responsible for everything contained herein.  So don't waste my managers'
time bitching to them if you don't like something I've said.  Flame me.
Phone: 800-458-9966  support@livingston.com  <http://www.livingston.com/> 
FAX: 510-426-8951    6920 Koll Center Parkway #220, Pleasanton, CA 94566

Received on Monday, 15 April 1996 17:18:03 UTC