Problem:
There is space gap between the rows, in its output:
Goal:
I want to reduce the gap, so it will show the normal format
/* CSS */
.spantxt{ display: table-cell;}
.dotuline{ display: table-cell; border-bottom-style: dotted; border-bottom-width:2px; }
.box{ width:700px;height:700px;padding:30px;border:1px solid black;margin:1px;display:table;}
<div class="box" align="left">
<table width="100%" border="0" >
<tr>
<td width="45%" >
<p><span class="spantxt" style="width:20px">Alias: </span>
<span class="dotuline"><?php echo $alias; ?></span></p></td>
<td width="5%"></td>
<td>
<p><span class="spantxt" style="width:100px">Family Name: </span>
<span class="dotuline"><?php echo $lastname; ?></span></p></td>
</tr>
<tr>
<td><p><span class="spantxt" style="width:90px">Date of Birth: </span>
<span class="dotuline"><?php echo $dateofbirth; ?></span></p></td>
<td></td>
<td><p><span class="spantxt" style="width:90px">Place of Birth: </span>
<span class="dotuline"><?php echo $placeofbirth; ?></span></p></td>
</tr>
</table>
</div>
Thanks.