Man page - wml::std::grid(3)
Packages contains this manual
- wml_p5_divert(1)
- wml::std::lang(3)
- wml::fmt::text(3)
- wml::std::all(3)
- wml::std::href(3)
- wml::des::rollover(3)
- wml_aux_htmlinfo(1)
- wml::fmt::sdf(3)
- wml_intro(7)
- wml_faq(7)
- wml::std::toc(3)
- wml::des::navbar(3)
- wml_p9_slice(1)
- wml::imp::fsview(3)
- wml(1)
- wml_macros(7)
- wml::sup::all(3)
- wml::sys::bootp4(3)
- wml::fmt::verbatim(3)
- wml_p1_ipp(1)
- wml::des::typography(3)
- wml::std::grid(3)
- wml::fmt::pod(3)
- wml::imp::csmap(3)
- wml_p7_htmlfix(1)
- wml_tags(7)
- wml::all(3)
- wml::std::info(3)
- wml::fmt::xtable(3)
- wml::fmt::url(3)
- wml::std::tags(3)
- wml::mod::version(3)
- wml::sys::all(3)
- wmd(1)
- wmb(1)
- wml::fmt::all(3)
- wml::sys::compat1(3)
- wml_tutorial(7)
- wml_aux_map2html(1)
- wml::std::logo(3)
- wml::fmt::isolatin(3)
- wml-params-conf(1)
- wmk(1)
- wml::des::preload(3)
- wml::des::all(3)
- wml::std::page(3)
- wml::des::lowsrc(3)
- wmd_missing(1)
- wml::std::label(3)
- wml::des::gfont(3)
- wml::std::box(3)
- wml::sup::path(3)
- wml::des::space(3)
- wml::std::case(3)
- wml::mod::all(3)
- wml_p6_asubst(1)
- wml::imp::all(3)
- wml::imp::generic(3)
- wml::des::imgbg(3)
- wml::sys::bootp3(3)
- wml::des::imgdot(3)
- wml::sup::hextriple(3)
- wml_p8_htmlstrip(1)
apt-get install wml
Manual
wml::std::grid
NAMESYNOPSIS
DESCRIPTION
ATTRIBUTES
EXAMPLE
AUTHOR
REQUIRES
SEE ALSO
NAME
wml::std::grid - Layout Grid
SYNOPSIS
#use
wml::std::grid
<grid [attributes]>
<cell [attributes]>...</cell>
:
<cell [attributes]>...</cell>
</grid>
DESCRIPTION
The "<grid>" container tag provides a mixture between a HTML table and a TeX-like way of specifying its dimensions and the alignment of its cells.
ATTRIBUTES
First the
possible attributes for "<grid>":
"summary"
This attribute will be inserted into the "table" tag, see documentation of HTML 4.0 for details on why this attribute is recommended.
"layout"
This specifies the layout of the grid in X and Y dimension, i.e. "3x2" means 3 columns (x-dimension) and 2 rows (y-dimension). Default is "1x" NCELL where NCELL is the number of cell tags or in other words: Default is a top-down list.
"align"
This specifies the horizontal alignment of the cells in a row. The argument has to contain as many characters as there are cells in a row. The supported alignment characters are β"l"β (left), β"r"β (right) and β"c"β (center). Default is β"l...l"β (as much "l"βs as there are cells in a row).
"valign"
This specifies the vertical alignment of the cells in a column. The argument has to contain as many characters as there are cells in a column. The supported alignment characters are β"t"β (top), β"b"β (bottom) and β"m"β (middle). Default is β"t...t"β (as much "t"βs as there are cells in a column).
"width"
This is the corresponding attribute of the HTML "<table>" tag. Use it to set the width of the grid. Default is no specified width.
"spacing"
This is the corresponding attribute to "cellspacing" of the HTML "<table>" tag. Use it to set the spacing of cells in the grid, i.e. the space around the content of each cell. Default is 0 (no space).
"padding"
This is the corresponding attribute to "<cellpadding>" of the HTML "<table>" tag. Use it to set the padding between cells in the grid, i.e. the inter-cell space. Default is 0 (no space).
"border"
This is the corresponding attribute of the HTML "<table>" tag. Use it to set the border width of the grid. Default is 0 (no border).
"bgcolor"
This is the corresponding attribute of the HTML "<table>" tag. Use it to set the background color of the grid. Default is no specified color.
"color"
This sets the foreground (text) color of the gridβs contents. Actually this sets the default for the same attribute of "<cell>". Default is no specified color.
Second the
possible attributes for "<cell>":
"align"
This is the corresponding attribute of the HTML "<td>" tag. Use it to set the horizontal alignment of the cellβs contents. Default is taken from the same attribute of "<grid>".
"valign"
This is the corresponding attribute of the HTML "<td>" tag. Use it to set the vertical alignment of the cellβs contents. Default is taken from the same attribute of "<grid>".
"bgcolor"
This is the corresponding attribute of the HTML "<td>" tag. Use it to set the background color of a particular cell. Default is no specified color.
"color"
This sets the foreground (text) color of the cellβs contents. This is done via the HTML "<font>" tag. Default is no specified color or the color from the same attribute of "<grid>".
"rowspan"
This is the corresponding attribute of the HTML "<td>" tag. Use it to span a cell over more then one row of the grid. Default is 1 row.
"colspan"
This is the corresponding attribute of the HTML "<td>" tag. Use it to span a cell over more then one column of the grid. Default is 1 column.
"width"
This is the corresponding attribute of the HTML "<td>" tag. Use it to set the width of the cell. Default is no specified width.
"height"
This is the corresponding attribute of the HTML "<td>" tag. Use it to set the height of the cell. Default is no specified height.
EXAMPLE
<grid
bgcolor="#000000" color="#ffffff"
layout="3x2" align="llr"
valign="tm">
<cell>A</cell> <cell>B</cell>
<cell>C</cell>
<cell>D</cell> <cell>E</cell>
<cell>F</cell>
</grid>
AUTHOR
Ralf S.
Engelschall
rse@engelschall.com
www.engelschall.com
REQUIRES
Internal: P1,
P2, P3, P5
External: --
SEE ALSO
HTML <"table">-tag.