- 论坛徽章:
- 0
|
<html>
<head>
<style type='text/css'>
#one {positon:relative;width:780px;height:400px;background-color:#000000;margin:30px auto 0px;}
#two {positon:relative;width:400px;height:30px;background-color:#ffffff;margin:30px auto 0px;font-size:1em;font-weight:bold;font-family:Arial;}
#three {positon:relative;width:400px;height:30px;background-color:#ffffff;margin:30px auto 0px;}
</style>
</head>
<body bgcolor='#cdcdcd' style='text-align:center;margin:0px;padding:0px;' >
<div id='one'>
<div id='two'>
two
</div>
<div id='three'>
three
</div>
</div>
</body>
</html>
这个是一个简单的demo,很疑惑,ie和firefox看出来不一样,怎样才能让firefox中“two”的
上面有一段距离呢,谢谢 |
|