[英]HTML CSS Problem
please check this URL. 请检查此URL。 http://works.ebexsoft.com/destin/
http://works.ebexsoft.com/destin/
There is an unexpected margin/padding in the bottom. 底部有意外的边距/填充。 I have used css like this:
我已经使用过这样的css:
@charset "utf-8";
body{margin:0; color:#232323; padding:0; background: #FDF8E4 url(images/bg.jpg) repeat-x;}
* {margin:0; padding:0}
html, body {margin: 0; padding: 0:}
But the space is not removing. 但是空间并没有消除。 What can I do?
我能做什么? Please help.
请帮忙。
The space at the bottom is being caused by the <div id="body_area1">
element. 底部的空格是由
<div id="body_area1">
元素引起的。
In the .css
, you have height: 200px;
在
.css
,您的height: 200px;
in the #body_area1
section, which is what's causing the "empty" space at the bottom. 在
#body_area1
部分中,这是导致底部的“空”空间的原因。
Either changing 200px
to be a smaller value, or removing the height:
line altogether should get you the desired effect. 将
200px
更改为较小的值,或者删除height:
线,应该可以达到预期的效果。
在style.css#body_area1高度中设置为200,请删除它。
body_area1的高度应为150px而不是200px。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.