Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting overflow in IFRAME??

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have this code here.
<IFRAME src=&quot;URL&quot; width=&quot;500&quot; height=&quot;365&quot; frameborder=&quot;0&quot;></IFRAME>

And I'm trying to insert an 'overflow: auto' somewhere, so that scrollbars show up because I didn't want the frame above that IFRAME to have the scrollbar.

Thanks
 
Hi,

Do you need to use iframe? I don't think it follows W3C specs.

How about a scrollable div?
<div style=&quot;height:200; width: 400; overflow: auto;>?</div>


É

endamcg-logo1b.gif

 
To make the Iframe scroll, do this:
<IFRAME src=&quot;URL&quot; width=&quot;500&quot; height=&quot;365&quot; frameborder=&quot;0&quot; SCROLLING=&quot;yes&quot;></IFRAME>
-----------------------------------------
To make the Iframe NOT scroll, do this:
<IFRAME src=&quot;URL&quot; width=&quot;500&quot; height=&quot;365&quot; frameborder=&quot;0&quot; SCROLLING=&quot;no&quot;></IFRAME>
-----------------------------------------
To make the Iframe scroll only if needed, do this:
<IFRAME src=&quot;URL&quot; width=&quot;500&quot; height=&quot;365&quot; frameborder=&quot;0&quot; SCROLLING=&quot;auto&quot;></IFRAME>

Rick If I have helped you just click the first link below to let me know :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top