Joining CSS styles
Thursday, January 24th, 2008Ok, here’s a request I just got, which has bugged me before.
If I want big red text, from classes big and red, I could do the following:
<style type="text/css">
.red {
color:red;
}
.big {
font-size:200%;
}
</style>
<div class="red big">howdy</div>
No problem.
However, if I now want to underline text which is big and red, I can’t do it.
(more…)