Home Tutorial CSS CSS td (Table Data)
CSS td (Table Data) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:19

CSS td

Defines the properties for an individual table cell.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.1+ 1.0+ 4.0+ 1.0+

Example

 

This example specifies that all table cells should have top and bottom borders, but no left or right borders. It also sets the font-size to one size smaller than the parent element text:


td {
border-bottom: navy solid thin;
border-top: navy solid thin;
border-left: none;
border-right: none;
font-size: smaller;
}

Remarks

Because table cells are children of "table" and "tr" elements, they will inherit some of their styles from those elements.

Last Updated on Monday, 17 September 2007 03:19
 
 

Login Form



Who's Online

We have 28 guests online


PHYSICS DICTIONY  PHP MeeLink.com  PR page rank  thainaturecure   wedding
[webdirectory] [thai webdirectory] [ptc forums ] [jabjai board] [tutor php] [meelink blog][link-mee.blog][Favorites online][ptc ref online][online payment] THF