Sign in to follow this  

iFrame scrollbars visible, but do not work

Recommended Posts

James Rose    38

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;
}

Share this post


Link to post
Share on other sites
Mr.XXIV    250

Try this.

 

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

Share this post


Link to post
Share on other sites
James Rose    38

 

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)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.