Jump to content



Photo

iFrame scrollbars visible, but do not work


  • Please log in to reply
2 replies to this topic

#1 James Rose

James Rose

    Software Developer

  • Tech Issues Solved: 1
  • Joined: 20-January 04
  • Location: New York City

Posted 05 June 2014 - 18:59

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



#2 Mr.XXIV

Mr.XXIV

    Shine bright like Iron Man.

  • Tech Issues Solved: 1
  • Joined: 30-April 11
  • Location: Durham, North Carolina
  • OS: OS X Yosemite
  • Phone: iPhone 5s

Posted 11 June 2014 - 02:40

Try this.

 

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


#3 OP James Rose

James Rose

    Software Developer

  • Tech Issues Solved: 1
  • Joined: 20-January 04
  • Location: New York City

Posted 11 June 2014 - 13:09

 

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)