How can I automatically resize this iframe within a div? My current method is not effective.
<iframe src="http://www.gamepuma.com/external.html?http://data.gamepuma.com/games/06/crash-bandicoot.swf" width="600" height="400" frameborder="0" marginwidth="0" scrolling="no"></iframe>
Is there a way to adjust the size of the iframe using CSS and PHP like below:
.showgame {
width: 640px;
height: 480px;
margin:0;
padding:0;
position: absolute;
left: 0px;
top: 40px;
}
<div class="showgame">
<?php echo $row_GameData['strGame']; ?>
</div>