묻고답하기

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 남기남
다조아해 최신글 추출에서...  
블레싱 레이아웃 배경때문에 ㅠㅠ [1] 2012.08.20 by KANTSOFT
B! 게시판 글 지우기 방지 [2] 2012.08.20 by 글문
Tohyoh 확장변수 제목 변경  
아빠도치 회원가입시 아이디 로그인으로 했을때 문제;; [1] file 2012.08.20
로얄박 최근 문서 출력 [1] 2012.08.20 by 마음의빈자리
ysenter 제로보드로홈페이지제작연습부터하고싶은데웹계정이꼭필요한가요? [1] 2012.08.20 by 마음의빈자리
EvangelineA.K.Macdowell div 레이어를 아래처럼 하려면 어떻게해야해요? [1] file 2012.08.20 by 서기에요
FEFE XE Default 2007 게시판 테이블 깨짐현상 [2] file 2017.06.25 by 서기에요
패트릭 회원가입 인증메일이 안보내 집니다. [2] 2012.08.20 by 패트릭
패트릭 회원가입 인증메일 확인하면 >> 잘못된 계정 인증요청 이라는 페이지가 나옴.. file  
아빠도치 회원가입시 아이디가입이 사라졌어요 ㅠㅜ  
cycloneez [질문]현재 컴퓨터에 설치된 홈페이지를 서버로 바로 이전 하려고 하는데요  
비니아^^ xe 코어 1.4.5.7에서 1.5.3로 업데이트하면 나는 에러  
croc 아이디 로그인 형식에서 이메일주소 변경 못하게 하고싶습니다 [3] 2012.08.20 by Sulli
croc html태그가 적용 안되는곳에 적용가능하게 하기 [8] 2020.03.14 by croc
달콤이00000000 xe에 okname 실명인증을 달려고 합니다.  
석달2 내부 로그인은 어떻게 설정하죠 [1] 2012.08.20 by Sulli
mekey 최근 이미지 위젯을 출력순을 추천수 많은 게시물 부터 가능한가요? [2] file 2012.08.20 by mekey
라싸 Contact 모듈의 확장변수 입력칸을 주소창에서 넘어오는 값으로 채울 수 있나요? [1] 2012.08.20 by 송동우
무적칼 x-pay 리턴값에 빈페이지 코드가 삽입되어 넘오옵니다. file  
비니아^^ xe 코어 1.4.5.7에서 1.5.3로 업데이트하면 나는 에러  
명드래곤 cafe24에서 빈 화면 뜨는 문제  
송지하 회원가입 후 아무 메시지도 뜨지 않는 문제.. [3] 2012.08.20 by 송동우
cycloneez [질문]위젯은 가운데 정렬이 불가능 한가요? [2] file 2012.08.27 by 송동우
백용권 서브도메인 지정하는법좀 가르쳐주세요 [1] 2012.08.20 by 윈컴이
오웬에스 구현하고자 하는 게시판 [2] 2012.08.20 by 숭숭군
오락실주인 [로그인버튼] 안보임 [1] file 2012.08.20 by Sulli
EvangelineA.K.Macdowell 레이어로 레이아웃 짤때요~ [2] 2012.08.21 by 송동우
xe너무어렵다 회원 설정 > 컬러셋 [3] file 2012.08.21 by 송동우