Programming/css

크롬과 IE에서 CSS 차이점 - body / background-color

구차니 2011. 3. 9. 17:07
IE 에서는
body
{
    background-color:#000000;
}
이러면 되는데

크롬에서는
html, body
{
    background-color:#000000;
}
이렇게 해야만 된다 -_-

그리고 이미지 경로도
tr {
    background: transparent url(/shadow-down.gif) no-repeat 0% 100%;
    display: block;
    position: relative;
    width: 828px;
}
/ 의 유무에 따라 크롬에서는 민감하게 작동한다 -_-