Could someone help me figure out how to align a label to the left and a button to the right within a div tag? Currently, my label aligns perfectly but my button is not aligning correctly and may even be outside of the div tag. Any assistance is appreciated.
<div id="PlaceHolder" runat="server" visible="false">
<asp:Label runat="server" ID="lblDisplay" CssClass="BoldTextBlack"> </asp:Label>
<asp:Button runat="server" ID="btnRollBack" CssClass="Buttons" style="float:right"
Text="Roll Back Last Change" OnClick="btnRollBack_Click" Height="30px" Width="119px" />
</div>
Upon further testing, it seems that adding style="float:right"
is causing the alignment issue.