How to set multiple class in CSS
Posted: Mon Jul 16, 2007 6:50 am
Hi,
I need to set multiple class for a single element.. I used the below style, but it does not work.. can anyone help me..
thanks in advance.
I need to set multiple class for a single element.. I used the below style, but it does not work.. can anyone help me..
Code: Select all
<style>
.style1{text-decoration: none;}
.style2{color: red;}
</style>
<a href="" class="style1, style2">