PDA

View Full Version : Scrollbar troble in iframes



dancinfrog88
04-14-2005, 09:23 PM
Does anyone know how to get rid of a scrollbar in an iframe but have scrollbar appear in the same iframe if you go to a different page inside it? :confused:

jscheuer1
04-15-2005, 04:53 AM
On the content pages, the pages to be displayed inside the iframe, add this to the body tag of any page you want not to have scrollbars:
<body style="overflow:hidden;">leave the tag alone on pages you want to have scrollbars. Set the iframe to be scrolling=yes, ex:

<iframe name="fred" src="somepage.htm" scrolling="yes" width="200" height="150"></iframe>Enjoy!

dancinfrog88
04-16-2005, 10:39 PM
thanks a bunch! It works great!