html - 移除框架滚动条

标签 html frame

我设计了一个带有框架的网页。这是我的作业,所以我必须使用框架。 在我的页面中有很多框架,内部框架有滚动条。我需要删除它,我该如何删除它?

这是我的 main.html 代码:

<frameset frameborder="NO" framespacing="0" cols="18%,*,18%" border="0" >
<!-- Navigational Bar -->
    <frame src="side.html" name="left" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize">
<!-- Interior Frame -->
    <frameset frameborder="NO" framespacing="0" rows="280,*" border="0">
        <frame src="header.html" name="middle" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize">
        <frameset frameborder="NO" framespacing="0" cols="180,*" border="0">
            <frame src="left.html" name="anasayfa" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize">
            <frame src="anasayfa.html" name="mainframe" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize">
        </frameset>
    </frameset>
<!-- Interior Frame -->
    <frame src="side.html" name="right" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize">
</frameset>

这是我的页面外观:

enter image description here

http://download.cnet.com/YouTube-To-MP3/3000-2071_4-75810474.html >youtube 到 mp3

最佳答案

只需添加到与框架一致的 main.html 中:

scrolling="no"

所以结果是:

<frame scrolling="no" src="left.html" name="anasayfa" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize" >

这是您的 main.html 结果:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>
<title></title>
<meta name="keywords" content="Webpage, design, yumakli" />
<meta name="description" content="Yumakli koyu web sayfasi" />
<style type = "text/css">
frame{
    overflow:hidden;
}
</style>
</style>
<script></script>
</head>
<div style="width:5000; height:5000;">
<frameset frameborder="NO" framespacing="0" cols="18%,*,18%" border="0" >
<!-- Navigational Bar -->
    <frame src="side.html" name="left" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize"  scrolling="no">
<!-- Interior Frame -->
    <frameset frameborder="NO" framespacing="0" rows="280,*" border="0">
        <frame src="header.html" name="middle" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize"  scrolling="no">
        <frameset frameborder="NO" framespacing="0" cols="180,*" border="0">
            <frame src="left.html" name="anasayfa" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize" scrolling="no">
            <frame src="anasayfa.html" name="mainframe" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize" scrolling="no">
        </frameset>
    </frameset>
<!-- Interior Frame -->
    <frame src="side.html" name="right" marginwidth="5" marginheight="5" frameborder="NO" border="0" noresize="noresize"  scrolling="no">
</frameset>
</div>
</html>

关于html - 移除框架滚动条,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14060475/

相关文章:

php - 如何在具有特定颜色的前 10 个条目的表中显示记录

delphi - XE2 Update 4 TFrame 与 TPageControl 与锚定控件的行为很奇怪

ios - subview 可见,但框架位于 super View 框架之外

ios - 状态栏框架坚持纵向并遮挡 window.view

jquery - 图像按钮(左 + 右)jquery 使用 offset().left 进行右键单击,在 css 中使用 left 值进行左键单击只工作一次?

javascript - webSql在chrome中创建多个数据库节点

jquery - 多个滑动开关

html - 滚动不会出现或切断底部? (Tumblr 主题)

ios - 不带自动布局的 UILabel 自动框架高度

ios - CGRect 未应用