Re: center phasing out?
by "Cindy Stanley" <stanleysupport(at)prodigy.net>
||Sun, 5 Sep 1999 17:39:15 -0400
>From: Ben Bradley <kingben(at)bigfoot.com>
>>center is being phased out?
From: Cindy Stanley <stanleysupport(at)prodigy.net>
>It is still valid.
>>damn - I use that all the time as it is the most useful way to control
>>alignment instead of using P align="" or div/span align=""
><DIV align="center"> is just as easy to use :-)
Okay ... I am backing up a bit in my suggestion made above. Now, "I"
look for more information on this DIV tag.
In one book (IDG, HTML 4 for Dummies), it does not read that the align
attribute of the DIV tag has been deprecated.
In another book (Sams Teach Yourself Web Publishing w/ HTML 4,
Professional Reference Edition, copywrite 1999), it reads:
"A slightly more flexible method of aligning text elements (unquote: you
can also use DIV align= to align headings, paragraphs, images, tables,
etc) is to use the DIV tag. It includes several attributes. Among these
attributes is ALIGN (deprecated in HTML 4.0)".
Now, in this same book (Sams Teach Yourself Web Publishing w/ HTML 4),
in the appendix section, it does NOT read that the align attribute of
the DIV tag is deprecated.
So, as it stands now, at least for me, I would take this into
consideration and assume that the align attribute of the DIV element is
deprecated, in favor of style sheets.
Bottom line, for me that is, that when the CENTER and DIV align= tags
become totally obsolete, is when I would begin using style sheets for my
alignment. Which, in any case, was the route I would eventually take
anyhow. I do not feel comfortable enough w/ the way some browsers handle
style sheets at this time to mark-up my site using CSS. But, CSS is
getting there soon enough, and so am I. Until then, I try to write valid
HTML 4.0, which the CENTER and DIV align= is still valid.
Can anyone provide solid documentation, url or book, that reads that the
align attribute of the DIV element is deprecated in HTML 4? I am leaning
more towards that it is, due to the source of the last book mentioned
Cindy K. Stanley
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA