Hi
I applied CSS for label,dropdpwnlist and textbox in aspx page.CSS is not functioning for label,for other controls css works.
Why there is problem with label css?Is it possible to apply css dynamically?
In the design time and in page load Css works and the screen looks good .After post back the look changes and the textbox ,labels were in different location of the page.I have given code below.
Please help me to get solution.
input[type="text"] {
color: #000000;
font-family: Verdana, Arial, Tahoma, Calibri;
font-size: 12px;
font-weight: normal;
text-align: left;
vertical-align: middle;
line-height: 100%;
width: 200px;
height: 14px;
border: 1px solid #3c9bb1;
padding: 3px 3px 3px 3px;
}
label {
color: #B4886B;
font-weight: bold;
display: block;
width: 150px;
float: left;
}
label:after { content: ": " }
...
Go to the complete details ...