我有一个div中有一个div和1个H1标签的页面;为什么我的保证金会在整个分部?
我给保证金为H1和它给保证金的整个DIV
这是为什么?
http://craveadeal.com/indexV2.php
这里是整个代码:
<style type="text/css">
<!--
* {
margin: 0px;
padding: 0px;
}
#wrapper {
margin-right: auto;
margin-left: auto;
background-image: url(image-files/mockupV2.jpg);
background-repeat: no-repeat;
height: 555px;
width: 1040px;
background-position: center top;
}
#wrapper h1 {
text-align: center;
font-size: 72px;
font-family: "Comic Sans MS", cursive;
text-decoration: blink;
color: #F07D00;
background-color: #000;
margin-right: 125px;
margin-left: 125px;
display: block;
margin-top: 125px;
}
-->
</style>
</head>
<body>
<div id="wrapper"><h1>COMING SOON</h1>
</div>
</body>
当我查看页面时,不会发生这种情况;什么浏览器显示该问题?你可以请张贴截图吗? – lnrbob 2010-09-07 17:29:43