- From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
- Date: Mon, 15 Apr 1996 18:32:12 -0400
- To: MegaZone <megazone@livingston.com>
- Cc: www-html@w3.org
It seems to me that any messages in this mailing list should quote the standards being discussed. Please be clear when you are discussing HTML features or Netscape features. At 02:17 PM 4/15/96 -0700, MegaZone wrote: ><DIV align=center> is a universal container, since <DIV> doesn't do anything >itself (no white space, line breaking, etc) you can surround anything. <DIV> _can_ create newlines or line breaks. It may not in Netscape but that does not mean it "doesn't do anything itself". It creates a structural division in your document that may be represented in many different ways on many different browsers. As far as I know, DIV is only defined in [draft-ietf-html-style-01], so if you think there is something in there that indicates that it may not be rendered as a page break or with whitespace, the evidence would come out of that document. > I >generally use <DIV align=center> to center images or tables since >'align=center' doesn't seem to work on those entities yet. I think you mean that you have not had luck using this attribute to center the image and table ELEMENTS (in Netscape). Images cannot be centered using the HTML i18n ALIGN attribute because they are not block type elements. <P ALIGN=CENTER><IMG SRC="..."></P> will do what you want. "Finally, in many languages text justification is much more important than it is in Western languages, and justifies markup. The ALIGN attribute, admitting values of LEFT, RIGHT, CENTER and JUSTIFY, is added to a selection of elements where it makes sense (block-like)." - [draft-ietf-html-i18n-03] The latest IETF Tables draft does allow tables to take an ALIGN attribute whose value is "center". So 'align=center' _does_ work (i.e. it is valid) although it may not achieve the desired affect in some browsers. You can find out more about aligning tables in [draft-ietf-html-tables-06]. Paul Prescod [draft-ietf-html-style-01]ftp://ftp.ietf.cnri.reston.va.us/internet-drafts/d raft-ietf-html-style-01.txt [draft-ietf-html-i18n-03]http://ds.internic.net/internet-drafts/draft-ietf-h tml-i18n-03.txt [draft-ietf-html-tables-06]ftp://ftp.ietf.cnri.reston.va.us/internet-drafts/ draft-ietf-html-tables-06.txt
Received on Monday, 15 April 1996 18:33:52 UTC