删除模板中的滚动条

时间:2016-10-21 14:14:54

标签: jquery html css templates

我想删除模板中的滚动条:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>


    <section class="main clearfix" style="display:inline;">
        <div class="work">
            <a href="inner.html">
                <img src="img/work1.jpg">

            </a>
        </div>


    </section><!-- end main -->

</body>
</html>

enter image description here

我想显示页面: website

1 个答案:

答案 0 :(得分:3)

尝试将不希望滚动条显示的区域的overflow css属性设置为hidden。

overflow:hidden;