div contains table the label, div and table of margin invalid, simply div the display property to inline-table , it may cause the div and table of margin valid, as follows
.table-div{
height:200px;
width:70%;
margin-left:60px;
display:inline-table;
float:right;
}
.table-div table{
line-height:15px;
width:500px;
height:180px;
margin-top:30px;
}
table tag
When setting the row height of the table, consider the height of the entire table. For example , if table height: 100px, the total height of all rows is 100px