Skip to content

Instantly share code, notes, and snippets.

@hoetz
Last active February 9, 2016 10:16
Show Gist options
  • Save hoetz/5bcea533d6e028978b31 to your computer and use it in GitHub Desktop.
Save hoetz/5bcea533d6e028978b31 to your computer and use it in GitHub Desktop.
css table
.table {width: 100%; height: 100%;}
.row {width: 100%; min-height: 1px; height: auto; margin: 0;}
.cell {float: left; margin: 0; padding: 0;}
.onecol {width: 100%;}
.twocolLeft {width: 40%;}
.twocolRight {width: 60%;}
<div class="table">
<div class="row">
<div class="cell twocolLeft">
Technical Server Admin
</div>
<div class="cell twocolRight">
<asp:TextBox ID="responsible" Enabled="false" runat="server" Columns="35" CssClass="textfield"></asp:TextBox>
<input type="button" value="Set" style="width: 50px" class="navbutton" onclick="openSearch(1);" />
</div>
</div>
<div class="row">
<div class="cell twocolLeft">
Application Admin
</div>
<div class="cell twocolRight">
<asp:TextBox ID="TextBox1" Enabled="false" runat="server" Columns="35" CssClass="textfield"></asp:TextBox>
<input type="button" value="Set" style="width: 50px" class="navbutton" onclick="openSearch(2);" />
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment