我想删除模板中的滚动条:
<!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>
我想显示页面: website
答案 0 :(得分:3)
尝试将不希望滚动条显示的区域的overflow css属性设置为hidden。
overflow:hidden;