change an attribute of css

Posted by balalakshmi on Stack Overflow See other posts from Stack Overflow or by balalakshmi
Published on 2010-04-23T10:23:09Z Indexed on 2010/04/23 10:33 UTC
Read the original article Hit count: 294

Filed under:

newbie question in css:

I have the following style defined:

TABLE.tabulardata th {
    font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    background: #CAE8EA url(images/bg_header.jpg) no-repeat;
}

I want to create an identical style but with different background color.

question: is it possible to parameterize the attribute. Background color in this case Or do i need to copy the same style again

© Stack Overflow or respective owner

Related posts about css