mark87
03-14-2005, 04:06 PM
Just wondering... say I want to have two different styles to text on a page - I'll say for this example - bold and standard. Now the only thing I want to be different between the two types of text is the font weight... so how do I do that without specifying the other attributes again? eg.
<style type="text/css">
p.textstylenormal {
text-align: center;
font-family: verdana;
font-size: medium;
color: #ffffff
}
p.textstylebold {
text-align: center;
font-weight: bold;
font-family: verdana;
font-size: medium;
color: #ffffff
}
</style>
<style type="text/css">
p.textstylenormal {
text-align: center;
font-family: verdana;
font-size: medium;
color: #ffffff
}
p.textstylebold {
text-align: center;
font-weight: bold;
font-family: verdana;
font-size: medium;
color: #ffffff
}
</style>