Admins eHow SysAdmin Tips & Tricks

May 12, 2009

How to apply multiple css classes to an HTML element

Filed under: CSS,General — Tags: , , , — admin @ 9:54 am

Applying multiple css classes to an HTML element is easy , simply put an space between classes.
Example :

<style>;
.class1 {color:red;}
.class2 {background-color:blue;}
</style>;
<tr class="class1 class2"><td>< an example</td></tr>

Powered by WordPress