Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
1487
The <ColGroup> Tag (XHTML Reference)
Introduction
The <colgroup> tag is used to define a group of
<col> tags within a table.
Example
…
<table border="1">
<colgroup
span="3" style="color:#AAAAAA">
</colgroup>
<tr>
<td>1st
Row - 1st Column</td>
<td>1st
Row - 2nd Column</td>
<td>1st
Row - 3rd Column</td>
<td>1st
Row - 4th Column</td>
</tr>
</table>
…
Output
Attributes
Name:
Description:
align
Aligns the content of the column horizontal with one of
the following options:
left
center
right
justify
char
char
This attribute can be only used if you set the align
attribute to char. The usage of the attribute is to set the alignment
character. This can be very useful if you have a table row with decimal
numbers and would like to align the row according to the decimal point.
charoff
Defines in conjunction with the “align” attribute the
position of the alignment character.
span
Span is used to tell the table how many columns it has to
span.
valign
Aligns the column vertically with one of the following
options.
top
middle
bottom
baseline
width
Sets the width of the column (can be overridden by the
<col> tag)