I am attempting to resize an iframe to display the entire page within a small frame!
iframe {
width: 1108px;
height: 710px;
-webkit-transform:scale(0.25);
-moz-transform:scale(0.25);
-o-transform:scale(0.25);
transform:scale(0.25);
}
<table border =1>
<tr>
<td>
<iframe src ="http://example.com"/>
</td>
</tr>
</table>
This code is functioning properly, but I am encountering an issue with the table! When I place the iframe within a table, the cell size matches the actual iframe dimensions (1108*710) instead of adjusting to the scaled iframe size. The iframe appears small due to the applied scaling codes! How can I make the iframe fit into the cells?