Monday, 3 December 2012

Re: Alignment in table cells

In article <e7eceaf752.chris.shepheard@shepheard.plus.com>,
Chris Shepheard <chris.shepheard@chrispics.co.uk> wrote:
> In message <682ee8f752.harriet@blueyonder.co.uk>
> Harriet Bazley <lists@orange.wingsandbeaks.org.uk> wrote:

> > I'm having weird issues with table cell right-alignment in the second
> > row of a table.

> > Given the following cut-down table

> > <TABLE WIDTH="100%" BORDER="1">
> > <TR>
> > <TD ALIGN="LEFT" WIDTH="20%">left align</TD>
> > <TD ALIGN="CENTER">
> > center align</TD>
> > <TD ALIGN="RIGHT"WIDTH="20%">
> > right align</TD>
> > </TR>
> > <TR>
> > <TD ALIGN="LEFT" WIDTH="50%">left align</TD>
> > <TD align="right"WIDTH="50%">right align</TD>

> Have you tried inserting "SPAN=2" after the TD in the line above?

> > </TR>
> > </TABLE>

COLSPAN="2" might work better

Richard

No comments:

Post a Comment