CalHTMLPane v2.0 Guide | Example Tag Usage

1: Tables

> Column widths

> Synopsis: Table column widths can be expressed in absolute, percentage, or relative form. See HTML4.0 spec for details.
> Example:
> <TABLE border=1 width=100% align=center cellpadding=2 bgcolor=sandybrown> `` <COLGROUP align=center> `` <COL width=100> `` <COL width=10%> `` <COL width=0*> `` <COL span=3 width=*> `` <COL width=2*> `` </COLGROUP> `` <TR> `` <TD>100 Pixels</TD><TD>10%</TD><TD>0*</TD> `` <TD>1*</TD><TD>1*</TD><TD>1*</TD><TD>2*</TD> `` </TR> </TABLE>
> Rendering:
> 100 Pixels | 10% | 0* | 1* | 1* | 1* | 2*
> Column 1 requests an absolute width of 100 pixels Column 2 requests 10% of available width Column 3 requests that it always be set to its minimum width Columns 4-7 request proportions of the remaining width Columns 4, 5 and 6 each request one portion of the remainder Column 7 requests two portions of the remainder Note that the eventual apportionment of widths to each column depends very much on the amount of space available to the table.

Guide Index | JavaDoc | Previous | Next