Hi,
I understand the basic subclass structure
B.bigger { text-decoration: underline; font-family: Arial,
Helvetica, sans-serif; font-size: 24px;
color: blue }<B.smaller { text-decoration: underline;
font-size: 12px;
}
>
<b class = "bigger">this text is bigger</b><b class="smaller" >this text is
smaller</b>
But what if I want to define a subclass to a table cell
.name_cell{
width:200px;
background-color: green;
background-position: 0px;
}
}
<th background="images/heading.gif" class="name_cell">th>
I want to have some of the cells to have this class and some to have a subclass
with a width of say 40px and blackground-color red but I can't seem to get the
syntax right for the subclasses.
Is this possible without defining an entirely new class? I suppose I could
define subclasses of all the cells <th> but this would involve writting loads
of new subclasses I just want two for a big cell and a smaller one.
R.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/