2

我在html5文档上使用这个css,#pane在firefox中渲染,顶部有大约30px的边距,而在ie和chrome上它在顶部是齐平的。我在这里想念什么?

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* END CSS Clear */

body {

    font-size: 13px;
    background: #f3f3f3;

}

/* Body and Window Definitions */
#pane { 
    width: 980px;
    padding: 10px 9px;
    margin: 0px auto;
    border-left: 1px solid #cdcdcd; 
    border-right: 1px solid #cdcdcd; 
    background: #fff;
    min-height: 1080px;
}
4

0 回答 0