Reputation: 5444
This is the code generating this:
<div class="panel panel-danger">
<div class="panel-heading">Offenses</div>
<div class="panel-body">
<div class="row" syle="padding: 5px;">
<div class="col-lg-12 padding-left">
<table class=" table">
<tr>
<td>None</td>
<td ><button type="button" class="btn btn-danger btn-xs">Add...</button> </td>
</tr>
</table>
</div>
</div>
</div>
</div>
My questios are:
Upvotes: 2
Views: 1944
Reputation: 18891
Question 1:
Use the following:
table tr:first-child td{
border-top: none;
}
Demo: http://www.bootply.com/XIZnEqBuMC
Question 2:
There's no good way to do that with a <table>
. If you will not be using more than two columns, floating divs with rows of static height may be a better approach.
Upvotes: 1