I am facing an issue with an iframe on my website that is contained within a div. I have specified both to have a height of 100%, and I am using the blueprint framework, hence applying the class span-12 last
. Despite these settings, a scroll bar still appears on the site.
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>
The displayed content extends beyond the bottom of the page rather than fitting the available space, resulting in a scroll bar being present. Why is the iframe assuming this height?
SNAPSHOT:
The iframe within the red-bordered div.