head,tail 배경따로따로 넣는법... > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

head,tail 배경따로따로 넣는법... 정보

head,tail 배경따로따로 넣는법...

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :
head 메뉴부분을 좌우 여백없이 쭉 길게 채우고싶고
아래 tail부분도 쭉~늘려서 채우고싶은데... 도저희 방법을 모르겠네요

다른분이 알려주신대로 해봤는데 head배경부분이 아래에 반복적으로 계속 나와서 이상하네요..
고수님들의 정확한 답변 기다릴께요..
  • 복사

댓글 전체

정확히 어떤 걸 요구하시는지는 모르겠지만.. style의 배경화면 셋팅을 다시 한번 해보셔야 할듯 하네요.

background-repeat: repeat-x

위 스타일대로 하면 배경이미지가 가로로만 반복이 됩니다만..
별도의 스타일시트를 넣으시거나, body 의 스타일에 지정을 해주시면 될듯 합니다만?
정확한 주소를 알려주시면 더 자세히 알려드리겠습니다. :)
아래...head.php 파일이거든요...어디에 넣어야하는지..
tail.php도 알려주시면 감사요..고수님.....
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목없음</title>
<meta name="generator" content="Namo WebEditor(Trial)">
<link rel="shortcut icon" href="http://ohstory1.cafe24.com/img/hp_ico.ico">
<style type="text/css">
body
{
background: #FFFFFF url(http://ohstory1.cafe24.com/img/head_bg.jpg);
color: #FFFFFF;
font: none 9pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
background-repeat:no-repeat;
background-position: top center;
margin: 0px 0px 0px 0px;
}
</style>
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';

  cookie_str = document.cookie;
  cookie_str.toString();

  pos_start  = cookie_str.indexOf(name);
  pos_end    = cookie_str.indexOf('=', pos_start);

  cookie_name = cookie_str.substring(pos_start, pos_end);

  pos_start  = cookie_str.indexOf(name);
  pos_start  = cookie_str.indexOf('=', pos_start);
  pos_end    = cookie_str.indexOf(';', pos_start);
 
  if (pos_end <= 0) pos_end = cookie_str.length;
  cookie_val = cookie_str.substring(pos_start + 1, pos_end);
  if (cookie_name == name && cookie_val  == "done")
    return;

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

// -->
</script>
</head>

<body text="black" link="blue" vlink="purple" alink="red" topmargin="0" marginheight="0" bgcolor="white">
<table cellpadding="0" cellspacing="0" width="920" align="center" height="371">
    <tr>
        <td width="920" height="126">
            <p align="center"><img src="img/index_01.jpg" width="970" height="258" border="0" usemap="#ImageMap1"></p>
        </td>
    </tr>
    <tr>
        <td width="920" height="113">
            <p align="center"><img src="img/index_02.jpg" width="970" height="261" border="0" usemap="#ImageMap2"></p>
        </td>
    </tr>
</table>
<map name="ImageMap1">
<area shape="rect" coords="326, 73, 650, 147" href="http://ohstorycp.co.kr/" onfocus='blur()'>
<area shape="rect" coords="5, 212, 152, 255" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=photo01" onfocus='blur()'>
<area shape="rect" coords="171, 212, 323, 255" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=photo02" onfocus='blur()'>
<area shape="rect" coords="350, 211, 477, 255" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=photo03" onfocus='blur()'>
<area shape="rect" coords="500, 212, 657, 254" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=photo04" onfocus='blur()'>
<area shape="rect" coords="682, 212, 783, 256" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=photo05" onfocus='blur()'>
<area shape="rect" coords="804, 213, 956, 255" href="javascript:na_open_window('win2', 'http://www.ohstory.co.kr/', 0, 0, 950, 850, 1, 1, 1, 1, 1)" target="_self" onfocus='blur()'>
</map><map name="ImageMap2">
<area shape="rect" coords="9, 127, 307, 258" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=notice02" onfocus='blur()'>
<area shape="rect" coords="330, 128, 647, 257" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=notice03" onfocus='blur()'>
<area shape="rect" coords="662, 128, 963, 257" href="http://ohstory1.cafe24.com/gnuboard4/bbs/board.php?bo_table=notice01" onfocus='blur()'>
</map>
</body>

</html>
<style type="text/css">
body
{
background: #211E19 url(http://이미지주소);
color: #3C3C3C;
font: none 9pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
background-repeat:no-repeat;
background-position: top center;
margin: 0px 0px 0px 0px;
}
</style>

해당페이지 <head></head>사이에 넣어보세요.

이미지 하나를 상단 백 이미지로 고정시켜주기 때문에 계속 나오지 않습니다.
다른분께 어제 답변드린건데 오늘 또 써먹네요.^^

 tail 부분은 쫍으니까
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" background="이미지경로">
이렇게 넣으시면 될거 같아요.
© SIRSOFT
현재 페이지 제일 처음으로