I have an iframe on my site in a div. I set as 100% in height. I also use the drawing structure, so span-12 lastfor the class. My question is, why does the site still have a scrollbar?
CODE:
<div id="friend_pane" style="background-color: #FF0000;height: 100%;" class="span-12 last">
<iframe id="friendpane_area" style="width: 515px; height: 100%" src="http://friendsconnect.org/friendpane/shell.php" frameborder="0" allowTransparency="true"></iframe>
</div>
Instead of the maximum extent possible, it passes by the bottom of the page and has a scroll bar. Why is he taking this height?
PANORAMA:

iFrame in DIV marked in red.
source
share