DIV 100%가 안잡히네요 ㅠ.ㅠ; 정보
DIV 100%가 안잡히네요 ㅠ.ㅠ;본문
에러내용 : div 하단 점선을 빼려다 보니 div가 width="100%"가 안먹네요.
주소는 http://m.terrorboy.pe.kr/mobile.php 입니다. 익스에서는 정상 출력 되지만 크로스 브라우징 할경우 확실히 티가 납니다.
head.php 내용
index.php 내용
footer.php 내용
주소는 http://m.terrorboy.pe.kr/mobile.php 입니다. 익스에서는 정상 출력 되지만 크로스 브라우징 할경우 확실히 티가 납니다.
head.php 내용
<div style="position:absolute; top:0%; height:50px; background-color:#ccc; width:100%;">
<div style="float:left;"><img src="<?=$mobile_skin_root?>/img/icon/pre.png"></div>
<div style="float:right;"><img src="<?=$mobile_skin_root?>/img/icon/home.png"></div>
</div>
<div style="position:absolute; top:50px;">
index.php 내용
<?include("$mobile_skin_root/head.php");?>
<!-- 홈페이지 사용모드 on -->
<?
// 버튼아이콘 출처
// http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=26658&sca=&sfl=wr_subject&stx=%B9%F6%C6%B0&sop=and
//
?>
<? /* 사용자 os 출력
<script type="text/javascript">
// document.write(navigator.userAgent) // os 출력
document.write(navigator.userAgent) // os 출력
</script>
*/?>
<div style="border-bottom:1px dashed; padding:0%; width:100%; height:30px; line-height:30px; background-color:#000;" onclick="var win = this.ownerDocument.defaultView || this.ownerDocument.parentWindow; if (win == window) { window.location.href='<?=$mobile[menu1_url]?>'; } ;return false"><?=$mobile[menu1]?></div>
<div>
사용 스킨 : <font color="blue"><?=$mobile[mobile_skin]?></font>
<br>os 가드 사용 :
<?if($mobile[os_guard]=="on"){ echo "<font color='blue'>사용중</font>";} else{ echo "<font color='red'>꺼짐</font>"; }?>
<br>모바일 홈페이지 사용 :
<?if($mobile[mobile_mode]=="on"){ echo "<font color='blue'>사용중</font>"; } else{ echo "<font color='red'>꺼짐</font>"; }?>
</div>
<!-- 홈페이지 사용모드 on 끝 -->
<?include("$mobile_skin_root/footer.php");?>
footer.php 내용
</div>
<div style="position:absolute; top:90%; background-color:#ccc; height:10%; width:100%; text-align:center; font-size:10pt; Vertical-align:middle;">
<div valign="middle"><?=$mobile[copyright]?></div>
</div>
댓글 전체
head.php 내용
<div style="position:absolute; top:50px; width:100%">하고 잡혔습니다. ㅡㅡ;;;;
<div style="position:absolute; top:50px; width:100%">하고 잡혔습니다. ㅡㅡ;;;;
흠..
익스8과 다른 브라우져와의 완벽한 호환을 원하신다면
문서 첫라인 !doctype 을 선언하고 하시면 완전 거의 똑같이 나옵니다.
단 이럴경우 익스7과 익스6용으로 따로 css를 만드셔야하는게 문제 ㅎ
익스8과 다른 브라우져와의 완벽한 호환을 원하신다면
문서 첫라인 !doctype 을 선언하고 하시면 완전 거의 똑같이 나옵니다.
단 이럴경우 익스7과 익스6용으로 따로 css를 만드셔야하는게 문제 ㅎ
감사합니다. 그거 선언 했구요 div만 쓰는것에서 UL,IL로 바꿨습니다.