I am trying to "frame" up our old intranet site with the toolbars coming from Sharepoint 2007. I am using iFrames to create the seamless look, and it generally works, except that i cannot get rid of the scrollbars. The pages referenced in my frames are full-size webpart pages, but I only want to show the top or left part of the page:

Code Snippet

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="" >
<HEAD runat=server>
<title>CovNet Phonebook</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="" name="vs_targetSchema">
<META HTTP-EQUIV="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">

<iframe frameborder=0 noresize style="z-index: 2; position:absolute; left:0px; top:0px; overflow: hidden" src="http://SomeServer/IntranetHeader/default.aspx" height="120px" width="100%"></iframe>
<iframe frameborder=0 noresize allowtransparency=false style="border-style:none; border-width: 0; z-index: 1; position:absolute; left:0px; top:0px; overflow: hidden " src="http://SomeServer/IntranetSidebar/default.aspx" width="220px" height="200%"></iframe>
<div class="divBody">

I have also tried "scrolling="no" and "overflow-x: hidden; overflow-y: hidden"

Any ideas

Re: Internet Explorer Web Development iFrames and scrollbars


Figured it out. The was a "scroll=yes" attribute on the body of SP master pages. Once I removed that, everything worked fine