简体   繁体   中英

HTML CSS Problem

please check this URL. http://works.ebexsoft.com/destin/

There is an unexpected margin/padding in the bottom. I have used css like this:

@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.

In the .css , you have height: 200px; in the #body_area1 section, which is what's causing the "empty" space at the bottom.

Either changing 200px to be a smaller value, or removing the height: line altogether should get you the desired effect.

在style.css#body_area1高度中设置为200,请删除它。

body_area1的高度应为150px而不是200px。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM