Click to See Complete Forum and Search --> : Quick question


esm
08-15-2003, 10:38 PM
what is the difference between the following "TDs"


td {
background-color: white;
color: black;
font-family: Verdana, sans-serif;
font-size: 9pt;
}
/* vedit - usual column (right) */
.vedit td {
padding: 10px;
padding-left: 15px;
background-color: #E0E0E0;
}


how is one used versus the other

gil davis
08-16-2003, 08:10 AM
The second one is cascaded. The style will only be envoked on a TD that is within a tag with the class "vedit".

esm
08-16-2003, 11:49 AM
thanks!

I think I understand it. I should have tested it, first. that does make sense though.