2

私は html5 ドキュメントでこの css を使用しており、#pane は Firefox で上部に約 30 ピクセルの余白を付けてレンダリングしていますが、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