0
とブラウザの上部に触れていない。事業部は、私がプロジェクトを作っていると私は、ユーザーが自分の画像を変更することができますので、私はこれをしなかったところまで行くのdivを作成する必要がありさえCSSリセット
<div class="mudar_foto_form" style="z-index: 5; position: fixed; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5);">
</div>
しかし、divがページの最上部に到達していない: http://prntscr.com/eys8lp
は私も使用してみました:
html, body {
margin: 0px;
padding: 0px;
border: 0px;
}
そして、そうであっても、CSSのリセット:
@charset "utf-8";
/* CSS Document */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
しかし、まだページの上部に触れていない、何か提案がありますか?
JSFiddleなどでコードをアップロードできますか? 'top:0;左:0;幅:100%;高さ:100% 'はあなたの問題を確実に解決するはずです。 –
umm ... 'top:0;'? – aahhaa
'left:0; top:0'を追加してみてください。あなたの要素に位置を与えていないので、ブラウザの種類はあなたが意味するものを推測しなければなりません。 –