I have a user control. In this, I added an HTML table in which there is a button. I need the buttons to be aligned at the bottom of the cell. I tried to set the property in the CSS file, the style is not applied. What am I doing wrong?
ASCX file:
<link href="CSSFile.css" rel="stylesheet" type="text/css" /> . . . <td> <asp:Button ID="btnOK" runat="server" Text="OK" Width="66px" CssClass="ButtonClass"/> <asp:Button ID="btnClose" runat="server" Text="Close" Width="66px"/> </td>
CSS file:
ButtonClass { border: thin groove #000000; vertical-align: bottom; color: #000000; background-color: #99FFCC; }
The CSS file and user control are in the same folder.
source share