Hello,
I have an Asp:Label which CSS class is "style":
..style
{
border-color: #303030;
border-style: solid;
border-width: 1px;
display: block;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
font-weight: normal;
margin: 10px;
padding: 10px;
text-align: center;
text-decoration: none;
text-indent: 0px;
}
Only the "display:block", "margin" and "padding" are applied to the
label. The text and border styles are no applied.
I tried with asp:textbox and same thing happens.
I am using:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
It works if I use:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The problem is I need to use the first one.
Can somebody explain to me what is going on here?
Thanks,
Miguel