백그라운드 질문좀 드리겠습니다. 정보
백그라운드 질문좀 드리겠습니다.본문
맨위 그림은 정상적으로 나오는거구요
아래 그림은 백그라운드 안나오는겁니다.
저 증상은 익스플로러를 처음 켰을때 들어가면 저렇게 나오더라구요
3~4번은 잘 나오다가 또 저렇게 배경이 안나옵니다.
환장하겠어요 ㅠㅠ 크롬에서는 이상없이 잘 나오구요..
글만 있을떄는 잘 나오는데
이미지 넣으려고 <img ~>
가 들어가면 안나옵니다;;
소스는 아래와 같습니다.
css
-- 중략--
#wrap {background:#fff; min-width:960px}
#header {width:100%; margin:0 auto; overflow:hidden}
.top_bg {background:url('../../images/bg_main_def.jpg') repeat-x; height:400px;}
.logo {z-index:999; position:absolute; top:35px; left:0;}
html
<div class="wrap">
<div class="top_bg">
<div class="center header">
<h1 class="logo"><a href="#"><img src="../images/logo.gif" /></a></h1>
아래 그림은 백그라운드 안나오는겁니다.
저 증상은 익스플로러를 처음 켰을때 들어가면 저렇게 나오더라구요
3~4번은 잘 나오다가 또 저렇게 배경이 안나옵니다.
환장하겠어요 ㅠㅠ 크롬에서는 이상없이 잘 나오구요..
글만 있을떄는 잘 나오는데
이미지 넣으려고 <img ~>
가 들어가면 안나옵니다;;
소스는 아래와 같습니다.
css
-- 중략--
#wrap {background:#fff; min-width:960px}
#header {width:100%; margin:0 auto; overflow:hidden}
.top_bg {background:url('../../images/bg_main_def.jpg') repeat-x; height:400px;}
.logo {z-index:999; position:absolute; top:35px; left:0;}
html
<div class="wrap">
<div class="top_bg">
<div class="center header">
<h1 class="logo"><a href="#"><img src="../images/logo.gif" /></a></h1>
댓글 전체
크롬에서는 이상없이 잘 나오구요<---이러면 아래 답변은 원인이 아닌 것 같지만 추측해 볼 수 있는 것은
images경로에서 배경 경로는 ../../images/bg_main_def.jpg
로고 경로는 ../images/logo.gif
이렇게 다른데 경로가 맞게 된 것인지 보세요
그리고 경로는 <?=$g4[path]?>/images~~~이렇게 만들어야...
images경로에서 배경 경로는 ../../images/bg_main_def.jpg
로고 경로는 ../images/logo.gif
이렇게 다른데 경로가 맞게 된 것인지 보세요
그리고 경로는 <?=$g4[path]?>/images~~~이렇게 만들어야...