User1435413075 posted
Hi
I got a form made of CSS floating elements
Name John
Job: Account
...
<div class="Field150">
Name:
</div>
<div class="Field150">
<asp:Label ID="Name Lb" runat="server" Text=""></asp:Label>
</div>
Because then float they are beside each other
on post back the Label is Chaged into SPAN
in my CSS in GOT:
.Field150 span
{
color: Blue;
text-align:left;
}
.Field150,
{
height: 30px;
float: left;
padding-top: 1px;
padding-bottom: 4px;
color:Red;
text-align:right;
}
PROBLEM:
Color RED is overriden in the SPAN by Color BLUE but TEXT-ALLINED is NOT overriden and remained alligned RIGHT??
Any reason why this happen?