I put a table inside a file .html
<!DOCTYPE html>
<html>
<link href="StyleMain.css" rel="stylesheet" type="text/css"/>
<div id="tableDiv">
<table border="0" width="100%">
<tbody>
<tr>
<td width="40%" class="infoView" id="torrentNameInf">Filmão</td>
<td width="15%" align="center" class="infoView">Filme Bem loko</td>
<td width="10%" align="center" class="infoView">1059</td>
<td width="10%" align="center" class="infoView">2159</td>
<td width="5%" align="center" class="infoView"><img id="downButton" src="images/downButton.png"/></td>
</tr>
</tbody>
</table>
</div>
</html>
And within StyleMain.css
I put
#tableDiv {
margin-bottom: 10px;
}
And when I call the .html
$.post('linha.html', function (html) {
for(var i=0; i<25; i++) {
$('#baseTorrent').append(html);
}
});
It does not create the space between divs