Tuesday, 4 December 2012

Re: Alignment in table cells

On 3 Dec 2012 as I do recall,

Graham Pickles wrote:


[snip]

> Rather than explain in detail it is easier (for me) to give my
> solution in full as it involves more colspans...
>
> <TABLE WIDTH="100%" BORDER="1">
> <TR>
> <TD ALIGN="LEFT" WIDTH="20%">left align</TD>
> <TD COLSPAN="2" ALIGN="CENTER">center align</TD>
> <TD ALIGN="RIGHT" WIDTH="20%">right align</TD>
> </TR>
> <TR>
> <TD colspan="2" ALIGN="LEFT" WIDTH="50%">left align</TD>
> <TD colspan="2" ALIGN="RIGHT" WIDTH="50%">right align</TD>
> </TR>
> </TABLE>
>
So... we've essentially got a *four*-column table here? One of 20%, one
of 30%, one of 30%, one of 20%?

--
Harriet Bazley == Loyaulte me lie ==

You cannot propel yourself forward by patting yourself on the back.

No comments:

Post a Comment