View Full Version : Scrollbar troble in iframes

04-14-2005, 08: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:

04-15-2005, 03: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!

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