Prev | Current Page 507 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

gif" alt="Go"
/>
XHTML REFERENCE
411
A
Element Attribute Description Standard attributes
Core attributes,
language attributes
Core events
Core attributes,
language attributes
Core events
span=n Defines how many successive
columns are affected by the col
tag. Use only when the surrounding
colgroup element does not
specify the number of columns.
The following example creates a
colgroup with five columns, with
each of the middle three columns
30 pixels wide:





Defines the horizontal alignment of
table cell content. It??™s recommended
that you use the CSS text-align
property instead (see its entry in the
CSS reference) to do this.
align=left|right|
justify|center
(deprecated)
Defines properties for a column or
group of columns within a
colgroup. Attributes defined
within a col element override
those set in the containing
colgroup element. col is an empty
element that contains attributes
only. The following example sets
the column widths of the table??™s
first three columns to 10, 30, and
50 pixels, respectively:





See also the entry.
Defines content as computer
code sample text. Usually
rendered in a monospace font.
See also Chapter 3, ???Logical styles
for programming-oriented
content,??? and the ???Displaying
blocks of code online??? exercise.


Pages:
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519