删除模板中的滚动条。

时间:2022-12-05 21:17:09

I would like to remove the scrollbar in my template :

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

<!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>

删除模板中的滚动条。

I would like to display the page as it : website

我想把这个页面显示为:网站。

1 个解决方案

#1


3  

Try setting the overflow css property set to hidden for the area you dont want a scrollbar to show.

尝试设置溢出的css属性设置为隐藏的区域,您不想要一个滚动条显示。

overflow:hidden;

#1


3  

Try setting the overflow css property set to hidden for the area you dont want a scrollbar to show.

尝试设置溢出的css属性设置为隐藏的区域,您不想要一个滚动条显示。

overflow:hidden;