<COL
ALIGN=LEFT|CENTER|RIGHT
SPAN=n>
Sets the properties of one or more columns. Use this element in conjunction with a COLGROUP element to set the properties of a column within a group of columns.
CENTER | Text is aligned with the center of cells in the column. |
LEFT | Text is aligned to the left of cells in the column. |
RIGHT | Text is aligned to the right of cells in the column. |
This element is valid only within a table. The end-tag is not required and is not recommended.
The properties specified by the COL element always override the properties specified by the preceding COLGROUP element.
Example
<TABLE> <COLGROUP> <COL ALIGN=RIGHT> <COL ALIGN=LEFT> <COLGROUP> <COL ALIGN=CENTER> <TBODY> <TR> <TD>This is the first column in the group and is right-aligned.</TD> <TD>This is the second column in the group and is left-aligned.</TD> <TD>This column is in a new group and is centered.</TD> </TR> </TABLE>
file: /Techref/language/html/r020/slide20.htm, 3KB, , updated: 2005/1/6 14:56, local time: 2024/11/28 23:34,
18.118.126.44:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/language/html/r020/slide20.htm"> HTML Reference</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.