Is there a way to target classes within an id in my CSS file?
In my html file, I have a simple label and textbox setup:
<div id="User">
<div>
<div class="left">
<asp:Label ID="Label1" runat="server" Text="User Name"></asp:Label>
</div>
<div class="right">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</div>
</div>
</div>
But how do I style the left and right classes in my CSS file? This is what I currently have:
#User
{
.left {
width: 30%;
float: left;
text-align: right;
}
.right {
width: 65%;
margin-left: 10px;
float:left;
}
}