我正在制作一个HTML,CSS和PHP的网站,页面超出了屏幕,但浏览器没有提供滚动条(Mac上的Safari 5.0.6和Firefox 14.0.1).是因为我加入了PHP吗?但是在页面呈现之前不应该存在吗?
这是一个链接:测试网站
我的PHP语法:
<div id="content">
<div class="wrapper">
<div id="home" class="alert">
Welcome to always4free©! To browse the classifieds, you must first either choose a location or have your location detected.
</div>
<?php include "res/pages/categories.php"; ?>
</div>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
到底是怎么回事?
编辑:这是我的CSS:
body {
background-image: url("http://always4free.org/site/images/bg.jpg");
background-size: cover;
font-family: "Mouse Memoirs",sans-serif;
}
.wrapper {
margin: 0 auto;
width: 850px;
}
#header {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
border-bottom: 3px solid green;
box-shadow: 0 2px …Run Code Online (Sandbox Code Playgroud)