deva.vvel
07-12-2007, 05:36 AM
Is there any option to set multiple class on a single element. For example, I have two style sets defined as
Code:
<style>
.style1{text-decoration: none;}
.style2{color: red;}
</style>
I tried to set both the style set for an element using class attribute as below. But it does not work. Is there any other option.
Code:
<a href="" class="style1,style2">
Code:
<style>
.style1{text-decoration: none;}
.style2{color: red;}
</style>
I tried to set both the style set for an element using class attribute as below. But it does not work. Is there any other option.
Code:
<a href="" class="style1,style2">