나는 다음과 같은 HTML 소스가 있습니다 이미지 그림자
<div id="page">
<div id="header">
<!-- end header div -->
</div>
<div id="dropdown">
<!--navigator menu is here!-->
</div>
<div id="main">
<!--main is here!-->
</div>
<div id="sidebar">
<!--sidebar menu is here!--></div>
<div id="footer">
</div>
<!-- end page div -->
</div>
<div id="leftshadow"></div>
<div id="rightshadow"></div>
</body>
을 그리고 이것은 내가이 결과
그러나에있어 일반적으로
/* html selectors ---- */
html, body {
font-family: 'Arial Unicode MS';
margin: 0;
padding: 0;
background-repeat: repeat-x;
background-color: white;
direction: rtl;
font-size: 10.3pt;
}
/*page -----------*/
#page {
width: 900px;
padding: 0px;
margin: 0 auto;
direction: rtl;
position: relative;
z-index: 100;
z-index: 5;
background-image: url("images/bgimage.png");
}
#leftshadow {
width: 100px;
height: 900px;
background-image: url("images/leftshadow.png");
position: absolute;
right: 1220px;
z-index: none;
top: -50px;
}
#rightshadow {
width: 100px;
height: 900px;
background-image: url("images/rightshadow.png");
position: absolute;
right: 345px;
z-index: none;
top: -25px;
}
/* header ---------- */
#header {
height: 110px;
top: 0px;
line-height: 30px;
background-image: url("images/header.png");
background-position-x: center;
background-repeat: repeat-x;
}
/* main -------------- */
#main {
line-height: 21px;
font-family: arial;
width: 625px;
padding: 30px;
position: relative;
right: 205px;
padding-bottom: 80px;
direction: rtl;
top: 42px;
padding-right: 60px;
min-height: 750px;
text-align: justify;
}
는 CSS 소스입니다 Internet Explorer이 결과가
삽입 할 것인지 알 수 있습니다.
<div id="leftshadow"></div>
<div id="rightshadow"></div>
****** 여기에 실례가 있습니다! http://lawb.co.il/ ****** #page 사업부 속으로
문제는 해결 될 수 있지만, 유일한 문제는 콘텐츠에 complatly보다 그림자, 놀이가
당신이 행복이 나를 도와 드릴까요 그에게 behund하지 않는 것이있다 이걸로?
감사합니다.
CSS 재설정을 사용하고 있습니까? –
@KrisHollenbeck CSS 재설정이란 무엇입니까? –
모든 브라우저 CSS를 모두 0으로 다시 설정하므로 모두 동일합니다. 기본적으로 모든 브라우저는 HTML 요소에 다른 유형의 여백과 여백을 설정합니다. 새 웹 프로젝트를 만들 때마다 하나씩 사용하는 것이 좋습니다. 그것은 브라우저간에 많은 레이아웃 불일치를 방지합니다. http://meyerweb.com/eric/tools/css/reset/ –