|
Posted by rsimpson505 on 11/02/05 18:44
Probably I have missed something, but how do you use one style
definition inside another?
For example:
I want to define two styles of <td> tags, td1 td2, which share some
properties from style tdg and have some individual properties:
td.tdg {
width: 30;
height: 50;
border-left: solid 1px gray;
border-top: solid 1px gray
}
td.td1 {
<!-- want to use td.tdg definition here -->
border-right: solid 1px gray;
border-bottom: solid 1px gray
}
td.td2 {
<!-- want to use td.tdg definition here -->
border-right: solid 1px gray;
border-bottom: solid 2px navy
}
How do I do this?
PS Do you call this cascading, nesting, including - or something else?
Navigation:
[Reply to this message]
|