Click here to Skip to main content
16,020,973 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how we call two different classes of css in asp button
such as

<asp:Button ID="Button1" runat="server" Text="Update" class="greyroundedbtn padmarzero"/>

where class greyroundedbtn is first one and class padmarzero is second one

but these classes is not work properly

please give solution
Posted
Updated 8-May-11 19:02pm
v3
Comments
Nithin Sundar 9-May-11 0:49am    
Can't you just put your CSS styles inside one class? What's the necessity of calling two? In case you want to change the look and feel of your controls dynamically, you can use themes.

1 solution

try following way

<div class="header_div header_red">
-- Content --
</div>
<div class="header_div header_green">
-- Content --
</div>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900