Name
<colgroup>
Synopsis
<colgroup>
Set properties for designated column or columns within a table. Also
indicates where vertical rules will be drawn when
rules
=groups
is set in
the <table>
tag.
Attributes
-
align
=value
Specify alignment of text in the cells of columns in the
<colgroup>
. Values can becenter
,left
, orright
.-
char
=character
Specify the alignment character for text in these cells.
-
charoff
=value
Set the offset within the cell at which the alignment character will be placed.
-
span
=n
Specify the number of columns in the
<colgroup>
.-
valign
=position
Set the vertical alignment of text within the columns to either
top
,middle
, orbottom
.-
width
=n
Set the width, in pixels or as a percentage, of each column in the group.
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.