> the <center> tag is cool because it aligns both inline and
> block data.

> I know there is div.centerme {text-align: center} which only
> works on inline data and then there is
> div.centerme { margin-left: auto; margin-right: auto} or
> whatever for block data. Is there a way to do both at once?
> 
> Is center deprecated?


"The CENTER element is exactly equivalent to specifying the DIV
element with the align attribute set to "center". The CENTER element
is deprecated." - from the HTML 4.01 specification:
http://www.w3.org/TR/html4/present/graphics.html#edef-CENTER

>From this, two of your questions are answered. 1. The CENTER element
should only work with block elements (DIV is a block), and 2. it is
deprecated.

--
Micah Harwell
Industrial Techware
http://www.industrialtechware.com/

Reply via email to