Hi boss,
I am adding style sheets in my project . I have created a style for labels.
I linked it to my web page and used. Now the problem is for the first page load , my style sheet attributes are applying. If i select some option in the page and submit , the styles of labels are changing....
Can anybody help me in solving this problem. Style i used for labels is
In the aspx page i used like
I will be thankful to you if you tell how to apply stylesheet to labels in webusercontrol page.
Thanking you boss,
I am adding style sheets in my project . I have created a style for labels.
I linked it to my web page and used. Now the problem is for the first page load , my style sheet attributes are applying. If i select some option in the page and submit , the styles of labels are changing....
Can anybody help me in solving this problem. Style i used for labels is
Code:
.labelStyle
{
font-family: 'Times New Roman' , Times, serif;
font-size: medium;
font-weight: bolder;
font-variant: normal;
color: Background;
margin: 10px;
text-transform: none;
}
Code:
<link href="StyleSheet.css" rel="stylesheet" type="text/css" /> <asp:Label ID="lbAdmissionNumber" runat="server" CssClass="labelStyle" Text="<%$ Resources:Resource, AdmissionNumber %>"></asp:Label></td>
Thanking you boss,
Comment