간단간단한 질문.. 배경화면관련 정보
간단간단한 질문.. 배경화면관련본문
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "메인페이지";
include_once("$g4[path]/_head.php");
?>
<style>
body {
background-color: #000000;
background-image: url(/images/all0.jpg);
background-repeat: no-repeat;
background-position: top center;
background-attachment: fixed;
}
</style>
<div id="container">
<div class="mvisual">
<div id="wrap"><embed src="/images_new/common/1.swf" width=1020 height=510></div>
</div>
<?
include_once("$g4[path]/_tail.php");
?>
여기서 style 써서 all0 를 고정배경으로 하고픈데.. 까맣게만 뜨내요 ㅠㅠ 왜그런지..
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "메인페이지";
include_once("$g4[path]/_head.php");
?>
<style>
body {
background-color: #000000;
background-image: url(/images/all0.jpg);
background-repeat: no-repeat;
background-position: top center;
background-attachment: fixed;
}
</style>
<div id="container">
<div class="mvisual">
<div id="wrap"><embed src="/images_new/common/1.swf" width=1020 height=510></div>
</div>
<?
include_once("$g4[path]/_tail.php");
?>
여기서 style 써서 all0 를 고정배경으로 하고픈데.. 까맣게만 뜨내요 ㅠㅠ 왜그런지..
댓글 전체
background-image: url(images/all0.jpg);
경로를 위와 같이 지정해 보세요.
경로를 위와 같이 지정해 보세요.
그래도 안대용..
검정 배경색만 나온다는 것은 배경 이미지로 설정한 부분 경로가 맞지않아 이미지를 불러올 수 없기 때문입니다