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
Expand|Select|Wrap|Line Numbers
- .labelStyle
- {
- font-family: 'Times New Roman' , Times, serif;
- font-size: medium;
- font-weight: bolder;
- font-variant: normal;
- color: Background;
- margin: 10px;
- text-transform: none;
- }
Expand|Select|Wrap|Line Numbers
- <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,