Results 1 to 8 of 8
Nov 29, 2011, 13:31 #1
- Join Date
- Nov 2009
- Ontario, Canada
- 0 Post(s)
- 0 Thread(s)
<iframe> height issue and negative margins
I'm trying to display an entire page in an iframe which looks exactly how I want it if I statically set the height in pixels. Then I want to hide the footer on that page so I use a negative margin. The problem is that the iframe content is not controlled by myself and changes in height with dynamically generated content. I've tried setting height to 100% but this doesn't seem to work. All this does is show like 200px of the content when the entire page is over 2000px long.
How do I go about showing a static width iframe with a full 100% height with a -100px bottom margin and no scrolling allowed?
Here is my current code:
<iframe src="[redacted]" width="312px" height="100%" scrolling="no" frameborder="no"> <p>Your browser does not support iframes.</p> </iframe>
Last edited by Ryan Mortier; Nov 29, 2011 at 13:41. Reason: redacted personal information