Notes to "Introduction to Web Design Day Three | Table Cell Attributes"
CSS1 has no properties for tables and the method by which HTML tables are laid out is undefined. 1
Align
The align
attribute as it relates to TD and TH has not been deprecated.
BGCOLOR: deprecated W3C
Deprecated Example:
<TD BGCOLOR="red">
CSS Example:
<STYLE TYPE="text/css">
TD { background: blue ; color: white;}
</STYLE>
nowrap: deprecated W3C
Deprecated Example:
<NOWRAP>This is text that will
not stop even when the browser
wants to word wrap
</NOWRAP>
CSS Example:
TD { white-space: nowrap }
VALIGN: deprecated
Deprecated Example:
<TD valign=top>
CSS Example:
Allowed vertical-align values: baseline | Sub | super | top | text-top | middle | bottom | text-bottom | <percentage> 1
<STYLE TYPE="text/css">
TD {vertical-align: top }
</STYLE>
WIDTH: deprecated W3C
1. Cascading Style Sheets: Designing for the Web by Håkon Wium Lie and Bert Bos
Return to
"Introduction to Web Design Day Three | Table Cell Attributes"
|