Name
<colgroup>
Synopsis
<colgroup>
Description
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 withing 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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access