Forum Moderators: not2easy
Is there someway to put something like .copyBold = .copy .bold?
I want to rename and cleanup some redunant names but am worried that I just wont be able to do a find and replace in php or htm code on every page
Is there someway in the .css document to tell a class to use a different class?
This works
<span class="copy bold">this makes it bold</span>
This works
<span class="copy white">this makes it white, but not bold</span>
This doesn't work
<span class="copy bold white">this makes it white, but not bold but I think it should make it copy, bold and white! #*$!</span>
.white {color:#ffffff;}
.bold {font-weight: 800;}
.copy
{
font-family: arial, helvetica, san-serif;
line-height: 130%;
font-size:12px;
font-weight: 400;
color: #000000;
}
.copyBold
{
font-family: arial, helvetica, san-serif;
line-height: 130%;
font-size:12px;
font-weight: 800;
color: #000000;
}
.copyBold
{
font-family: arial, helvetica, san-serif;
line-height: 130%;
font-size:12px;
font-weight: 800;
color:#ffffff;
}