• 0

iFrame scrollbars visible, but do not work


Question

When I have some data posted to my iFrame the scroll bar(s) appear, which is good as the content is larger than the size.  However in IE, FF and Chrome the scroll bars do not work.    Any thoughts?

<iframe id="iContent" runat="server" width="420" height="315" class="iFrameContent " ></iframe>


.iFrameContent {
	text-align:center;
	border:20px solid #2a2a2a;
	border-radius:16px;
	position:absolute;
	width:416px;
	height:200px;
	top:84px;
	left:50%;
	;
	z-index:1;
}
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Try this.

 

<iframe scrolling="yes" id="iContent" runat="server" width="420" height="315" class="iFrameContent " ></iframe>
Link to comment
Share on other sites

  • 0

 

Try this.

<iframe scrolling="yes" id="iContent" runat="server" width="420" height="315" class="iFrameContent " ></iframe>

 

Thanks, but yea I had tried that.  I should have included that in my code.  (oops)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.