Firefox e Internet explorer vogliono le celle di una tabella con la proprietà
display:block
Quindi
td.test{
display:block;
position:relative;
border:1px solid blue;
height:60px;
width:150px;
}
td.test div{
position:absolute;
top:10px;
left:20px;
border:1px solid red;
width:150px;
height:30px;
}
<table>
<tr>
<td class="test"> <br />
<div> </div>
</td>
</tr>
</table>
Nessun commento:
Posta un commento