묻고답하기

layer1.jpg

 

 

footer가 CONTENTS 위를 살짝 덮게하려고 하거든요

 

하는 가장 큰 이유는 드랍쉐도우.. 그림자때문에 하는건데요..

 

저 나름대로 인터넷에서 찾아서 해봤는데 정상적으로 되지 않아서... 뭐가 문제인지 알고 싶습니다..ㅜ

 

<!-- style.css -->
#aniview { margin: 0px; padding: 0px; background-color:#FFFFFF; }

#aniview #contents-area { margin-top: 20px; width: 958px; }

#aniview #submenu { width: 190px; height: 100%; background-image:url(../images/aniview_sub.png); background-repeat: no-repeat; float:left;}
#aniview #submenu .contents{ width: 170px; height:100%; margin-top: 81px; border-width:1px; border-color:#f6f6f6; border-style:solid; border-top-width: 0px; }

#aniview #sub_contents { width: 768px; background-image:url(../images/content_sub_bg.png); background-repeat: no-repeat; float: left; }
#aniview #sub_contents .contents{ width: 750px; margin-top: 8px; border-left-width:1px; border-left-color:#f6f6f6; border-left-style:solid; border-right-width:1px; border-right-color:#f6f6f6; border-right-style:solid; text-align: left; }
#aniview #sub_contents .data { padding: 20px; }
#aniview #bottom_bar { clear: both; width: 100%; height: 80px; left: 0px; padding-top: 20px; background-image:url(../images/bottom_bg.png);  position: absolute;}
#aniview #bottom_bar .footer { width: 940px; text-align: left; }


<!-- javascript -->
<script>
onload = function (){
//footer 정보
  var objSet   = document.getElementById("bottom_bar"); 
//컨텐츠 총 높이 사이즈 구하기
  var objTarHeight = document.getElementById("sub_contents").offsetHeight;

//footer 위치 정해주기
   objSet.style.top= objTarHeight-100 + "px";
}
</script>


<!-- HTML -->
<div id="aniview">
	<div id="contents-area">
		<div id="submenu">
			<div class="contents"></div>
		</div>
		   
		<div id="sub_contents">
			<div class="contents"><div class="data">{$content}</div></div>
		</div>
	</div>
	
	<div id="bottom_bar">
		<div class="footer"><img src="../images/footer.png" width="331" height="58" /></div>
	</div>
</div>

값은 정상적으로 받아오는데 위치를 변경시켜주진 않더라구요..

 

뭐가 문제인지 궁금합니다..

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
mekey 최근 이미지 위젯을 출력순을 추천수 많은 게시물 부터 가능한가요? [2] file 2012.08.20 by mekey
석달2 내부 로그인은 어떻게 설정하죠 [1] 2012.08.20 by Sulli
달콤이00000000 xe에 okname 실명인증을 달려고 합니다.  
croc html태그가 적용 안되는곳에 적용가능하게 하기 [8] 2020.03.14 by croc
croc 아이디 로그인 형식에서 이메일주소 변경 못하게 하고싶습니다 [3] 2012.08.20 by Sulli
비니아^^ xe 코어 1.4.5.7에서 1.5.3로 업데이트하면 나는 에러  
cycloneez [질문]현재 컴퓨터에 설치된 홈페이지를 서버로 바로 이전 하려고 하는데요  
아빠도치 회원가입시 아이디가입이 사라졌어요 ㅠㅜ  
패트릭 회원가입 인증메일 확인하면 >> 잘못된 계정 인증요청 이라는 페이지가 나옴.. file  
패트릭 회원가입 인증메일이 안보내 집니다. [2] 2012.08.20 by 패트릭
FEFE XE Default 2007 게시판 테이블 깨짐현상 [2] file 2017.06.25 by 서기에요
EvangelineA.K.Macdowell div 레이어를 아래처럼 하려면 어떻게해야해요? [1] file 2012.08.20 by 서기에요
ysenter 제로보드로홈페이지제작연습부터하고싶은데웹계정이꼭필요한가요? [1] 2012.08.20 by 마음의빈자리
로얄박 최근 문서 출력 [1] 2012.08.20 by 마음의빈자리
아빠도치 회원가입시 아이디 로그인으로 했을때 문제;; [1] file 2012.08.20
Tohyoh 확장변수 제목 변경  
B! 게시판 글 지우기 방지 [2] 2012.08.20 by 글문
블레싱 레이아웃 배경때문에 ㅠㅠ [1] 2012.08.20 by KANTSOFT
다조아해 최신글 추출에서...  
zest132 iframe 내에 css파일 import하기 file  
디쎔버 게시판은 layout.html의 {@content}자리에 들어가는 것 아닌가요? [1] file 2012.08.20 by 송동우
Seowoooo 신고 유형 설정이나 신고 재확인 설정 못하나요 ㅠㅠ  
자막바다 게시판 확장변수를 여러개 추가후 그중 1개만 다른색상을 주고 싶은데요. [1] 2012.08.20 by 송동우
다조아해 레이아웃 글꼴이 깨져보이네요. [1] 2012.08.20 by 서기에요
오락실주인 [xe_official]게시판 수정 문의 ^^ [1] file 2012.08.20 by 서기에요
B! 동일 회원의 여러개의 댓글 작성시 한번만 포인트 주기 [1] 2012.08.20 by 송동우
djaos 1.5 버전부터 페이지 PC랑 모바일이랑 안나눠지나요? [1] 2012.08.20 by 마음의빈자리
다조아해 에디커 기본 글꼴 수정하는 방법..좀 알려주세요  
쌩혁이 게시판 생성에서.. [1] file 2012.08.19 by paulmoon
FURY 관리자는 댓글 등록이 안되나요??