lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV centering tables


From: Foteos Macrides
Subject: Re: LYNX-DEV centering tables
Date: Mon, 30 Jun 1997 18:46:29 -0500 (EST)

Laura Eaves <address@hidden> wrote:
>Actually, on closer scrutiny, there is a <CENTER> ... </CENTER> around
>the whole body.  So perhaps the table should be centered?
>The html is something like
>       <center>
>       <P>...</p>
>       <table...> ... </table>
>       </center>...
>I removed the <P> elements and the table still is left justified by
>fotemods 6/26/97.  ac-0.30 centers everything.
>Again, see http://www.qvc.com for an example.
>Sorry for the confusion...

        Review this entry in the FOTEMODS file:
        
1997-05-21
* Mods in HTML.c and LYCharUtils.c so that TABLE blocks are treated
  as divisions in the DIV nest, with a default alignment of HT_LEFT
  if the TABLE start tag lacks an ALIGN attribute, and otherwise,
  that attribute's value.  Nested TABLEs extend the DIV nest.  This
  avoids the problem in the vanilla code of TABLE content inheriting
  the alignment of a containing CENTER or DIV which is intended for
  alignment of the TABLE as a whole.  Also added support for ALIGN
  attributes in TR elements.  If the TR has no ALIGN attribute, it
  inherits that of the current division, which should be that of the
  current TABLE.  This, of course, still does not yield true TABLEs
  for truly tabular content, but makes TABLEs used for formatting
  more readable. - FM


                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]