chris564951

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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<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="http://schemas.microsoft.com/intellisense/ie5" 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">

</head>
<body>
<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">
...
</div>
</html>

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

Any ideas



Re: Internet Explorer Web Development iFrames and scrollbars

chris

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