Re: What should I use for centering (DIV or P)

You, Heikki Vesalainen wrote:
++ 
++ Hi!
++ 
++ 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>.

What I suggest is that you first logical markup your document
without bothering about layout specific attributes.

Then, after you have finished doing that, you add the 'align = center'
attributes. If you have used <div> in your document, you can use
<div align = center>. If it's only <h?> and <p>, you use
<h? align = center> and <p align = center>.

The logical markup of the document is far more important than the layout
hints. The attributes go with the elements; one doesn't use elements
for the attributes.


Abigail

-- 
<URL: http://www.edbo.com/abigail/>  (Changed)

Received on Monday, 15 April 1996 17:29:57 UTC