묻고답하기

div 로 홈페이지 만들기 공부중입니다

http://cru.zc.bz/xe/?mid=humor

 

여기보시면 ie에서는 정상적으로 뜨는걸 볼수있습니다

 

하지만  파폭에서는 이상하게뜨는데요....

 

ie와같이 정상적으로 뜨게하려면 어떻게해야할까요 ㅠ

 

그리고 div 완전 첨 공부하는 생초보라 태그가 좀 조잡한면이 있을거같은데 ㅠ 깔끔하게 필요없는거 빼고 수정도해주심 더 감사하구요

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>div 태그로 레이아웃 설정</title>
    <script language="JavaScript">
function height(){
 var kkk = document.getElementById("content").offsetHeight;
 document.getElementById("left").style.height = kkk;
 document.getElementById("left1").style.height = kkk;
 document.getElementById("right").style.height = kkk;
}
</script>
    <style type="text/css">
    body { text-align:center; width:100%; height:100%;}
    #header {
        width:840px;
        height:148px; overflow:hidden;


        }
    #menu {
        width:840px;
        height:28px; overflow:hidden;
        }
  
  
    #left {
        width:36px; background-color:white; overflow:hidden; float:left;
       

        }
  
    #left1 {
        width:180px; background-color:white; overflow:hidden; float:left;
       
        }
    .login {
        width:156px; height:100%; overflow:hidden; position:relative; float:left;
 }

 

    #content {
        width:590px; background-color:#fff; overflow:hidden; float:left;
       
        }
    #right {
        width:34px; overflow:hidden;
        float:left;
        }
    #footer {
       
        width:840px; height:40px; background-color:#452123; overflow:hidden;
        clear:both;  
        }
    #logo {
        width:158px; height:148px; overflow:hidden;
        float:left;

        }
    #main {
        width:117px; height:126px; overflow:hidden;
        float:left;

        }
    #lapis {
        width:97px; height:126px; overflow:hidden;
        float:left;

        }
    #cru {
        width:89px; height:126px; overflow:hidden;
        float:left;

        }
    #board {
        width:90px; height:126px; overflow:hidden;
        float:left;

        }
    #guild {
        width:90px; height:126px; overflow:hidden;
        float:left;

        }
    #screen {
        width:82px; height:126px; overflow:hidden;
        float:left;

        }
    #guide {
        width:117px; height:126px; overflow:hidden;
        float:left;

        }
    #layer {
        width:682px; height:22px; overflow:hidden;
        float:left;
        }

    </style>
</head>

<body bgcolor="white" text="black" style="background-image:url(/images/back.jpg'); background-repeat:repeat-x; background-attachment:fixed; background-position:0 0;" leftmargin="0" marginwidth="0" topmargin="0" onload="javascript:height()"   marginheight="0">
    <center>
<div id="header">
 <div id="logo"><img src="/images/index_02.jpg" width="158" height="148" border="0" /></div>
 <div id="main"><img src="/images/index_03.jpg" width="117" height="126" border="0" /></div>
 <div id="lapis"><img src="/images/index_04.jpg" width="97" height="126" border="0" /></div>
 <div id="cru"><img src="/images/index_05.jpg" width="89" height="126" border="0" /></div>
 <div id="board"><img src="/images/index_06.jpg" width="90" height="126" border="0" /></div>
 <div id="guild"><img src="images/index_07.jpg" width="90" height="126" border="0" /></div>
 <div id="screen"><img src="/images/index_08.jpg" width="82" height="126" border="0" /></div>
 <div id="guide"><img src="/images/index_09.jpg" width="117" height="126" border="0" /></div>
    <div id="layer"></div>
</div>
    <div style="text-align:left; width:840px;">
<div id="menu"><img src="/images/index_18.jpg" width="840" height="28" border="0" /></div>
<div id="left" style="background-image:url(/images/index_19.jpg)undefined;"></div>
<div id="left1">
<div class="login" style="margin-top:-15px;"><img class="zbxe_widget_output" widget="login_info" skin="login" colorset="default" /><img class="zbxe_widget_output" widget="logged_members" skin="logged" colorset="bachi" list_count="3" use_mid="total" /></div>
</div>
        <div id="content" style='height:;'>{$content}</div>
<div id="right" style="background-image:url('/images/index_22.jpg');"></div>
</div>
   
    <div id="footer"><img src=".//images/index_40.jpg" width="840" height="40" border="0" /></div>
    </center>
</body>
</html>

 

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
채연파파 레이아웃 변경시 layout.html을 수정해도 적용되지 않습니다. [2] 2009.12.21 by 멀루할까
마루7 게시물 별로 읽기 권한을 따로 줄수 있나요? [1] 2009.12.21 by nabul2
채연파파 최근 게시물에 공지를 제일 위로 하고 싶은데요..  
멀루할까 div 레이아웃 파폭 비정상으로떠요 [5] file 2009.12.21 by 멀루할까
Sang403 무슨문제인지 ..fatal error: functio.require-once file  
三乭 게시판의 보기를 누르면 페이지를 생성할 수 없다고 나옵니다.  
snake702 xe.1.3.1.1 메뉴출력기 어디에 있나요?  
psd 아이디에 다른 문자 들어가게 하려면?  
undinekr module config 값을 수정하려면 어떻게 해야 하나요?  
JCJAY FTP 정보 이후 설치가 진행되지 않아요. [1] file 2009.12.21 by 허승철716
흔한남자 윗젯. 아이프레임 질문입니다.  
주알리기 xe_official_v2 레이아웃 질문입니다. file  
ashy 개인홈피에 XE게시판만 가져다 사용할 수 있나요..? [1] 2009.12.21 by mc뷰
라유라 게시판크기 조절하는 방법이 궁금합니다. [1] 2009.12.21 by DuRi
천루냥 회원정보 수정시 에러  
YM플라톤 최근 이미지 위젯프로그램 어디서다운받죠 ??  
오이링 아이디/비번 찾기시 이메일로 아무것도 안옵니다..  
윤정식709 회원가입이 되지 않는데 도움좀 주세요  
FANTA ★ 회원을 일괄로 생성하고 싶습니다. [1] 2009.12.21
소피아7 관리자 로그인이 안됩니다 ㅠ file