Home Tutorial CSS CSS tr (Table Row)

MSN Random Online

CSS tr (Table Row) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:22

CSS tr

Defines the properties for a table row.

Browser/User Agent Support

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



This example specifies that all table rows 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:

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


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


Top Members

No top members yet.