가운데 정렬 상관없이 레이어 고정 하는 방법이요ㅜㅜ

전체 표 가운데 정렬시 레이어 고정하기를 하고 있는데요...
style = "position:relative; left:0px: top0px:"
style="width:100px: height:100px: position:absolute;left:0px: top20px: z-index:1;"
하는건 아는데.... 고정이 안되더라구요....
 
드림위버cs4에서는 아래와 같이 소스가 만들어지는데요.... 가운데 정렬만 하면 레이어가  고정이 안되요.....
고정시키고 싶어요.... 고수님들 알려주세요~
-----------------------------------------------------------------------------
<style type="text/css">
<!--
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 background-color: #120b02;
}
#Layer1 {
 position:absolute;
 left:708px;
 top:210px;
 width:349px;
 height:280px;
 z-index:1;
}
#Layer2 {
 position:absolute;
 left:718px;
 top:563px;
 width:321px;
 height:89px;
 z-index:1;
}
#Layer3 {
 position:absolute;
 left:718px;
 top:660px;
 width:338px;
 height:61px;
 z-index:2;
 visibility: hidden;
}
#Layer4 {
 position:absolute;
 left:718px;
 top:719px;
 width:340px;
 height:60px;
 z-index:3;
 visibility: hidden;
}
#Layer5 {
 position:absolute;
 left:718px;
 top:740px;
 width:342px;
 height:66px;
 z-index:4;
 visibility: hidden;
}
#Layer6 {
 position:absolute;
 left:718px;
 top:762px;
 width:343px;
 height:79px;
 z-index:5;
 visibility: hidden;
}
#Layer7 {
 position:absolute;
 left:718px;
 top:790px;
 width:344px;
 height:56px;
 z-index:6;
 visibility: hidden;
}
#Layer8 {
 position:absolute;
 left:718px;
 top:835px;
 width:344px;
 height:58px;
 z-index:7;
 visibility: hidden;
}
-->
</style>

<body onLoad="MM_preloadImages('../../n_images/info_sm1.gif','../../n_images/info_sm22.gif','../../n_images/info_sm33.gif','../../n_images/info_sm44.gif','../../n_images/info_sm11.gif','../../n_images/info_sm2.gif','../../n_images/gui_tsme11.gif','../../n_images/gui_tsme2.gif','../../n_images/gui_tsme33.gif','../../n_images/gui_imgbg44.gif','../../n_images/gui_imgbg55.gif','../../n_images/gui_imgbg66.gif','../../n_images/gui_imgbg77.gif')">
<div id="Layer2" onMouseOver="MM_showHideLayers('Layer2','','show','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"><img src="../../n_images/gui1.gif" width="335" height="88"></div>
<div id="Layer3" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','show','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"><img src="../../n_images/gui2.gif" width="335" height="59"></div>
<div id="Layer4" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','show','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"><img src="../../n_images/gui3.gif" width="335" height="57"></div>
<div id="Layer5" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','show','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"><img src="../../n_images/gui4.gif" width="335" height="86"></div>
<div id="Layer6"><img src="../../n_images/gui5.gif" width="335" height="89"></div>
<div id="Layer7" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','show','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"><img src="../../n_images/gui6.gif" width="335" height="103"></div>
<div id="Layer8"><img src="../../n_images/gui7.gif" width="335" height="59"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><?Include "../../n_include/logo.php";?></td>
  </tr>
  <tr>
    <td align="center"><?Include "../../n_include/k_menu.php";?></td>
  </tr>
  <tr>
    <td align="center" background="../../n_images/s_bg.gif"><?Include "../../n_include/simg1.php";?></td>
  </tr>
  <tr>
    <td align="center"><table width="1000" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="200" align="center" valign="top" background="../../n_images/s_mebg.gif"><table width="134" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="../../n_images/stitle1.gif" width="134" height="51"></td>
          </tr>
          <tr>
            <td><a href="/kor/info/hotel.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','../../n_images/info_sm11.gif',1)"><img src="../../n_images/info_sm1.gif" name="Image4" width="134" height="32" border="0"></a></td>
          </tr>
          <tr>
            <td><a href="/kor/info/gui.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','../../n_images/info_sm2.gif',1)"><img src="../../n_images/info_sm22.gif" name="Image5" width="134" height="32" border="0"></a></td>
          </tr>
          <tr>
            <td><a href="/ver2/bbs/board.php?bo_table=emp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','../../n_images/info_sm33.gif',1)"><img src="../../n_images/info_sm3.gif" name="Image6" width="134" height="32" border="0"></a></td>
          </tr>
          <tr>
            <td><a href="/kor/info/road.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','../../n_images/info_sm44.gif',1)"><img src="../../n_images/info_sm4.gif" name="Image7" width="134" height="32" border="0"></a></td>
          </tr>
        </table></td>
        <td width="800" align="center" valign="top" background="../../n_images/s_mebg2.gif"><table width="718" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td align="left"><table width="718" height="75" border="0" cellpadding="0" cellspacing="0" background="../../n_images/c_bg.gif">
              <tr>
                <td><img src="../../n_images/info_ctitle2.gif" width="294" height="75"></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="20" align="right" class="ca_text"><img src="../../n_images/tm_icon.gif" width="14" height="7">Home > 호텔소개 > 층별안내 </td>
          </tr>
          <tr>
            <td align="left"><img src="../../n_images/info_ct1.gif" width="454" height="30"></td>
          </tr>
          <tr>
            <td align="center"><table width="681" height="460" border="0" cellpadding="0" cellspacing="0" background="../../n_images/gui.gif">
              <tr>
                <td width="291" valign="top"><table width="291" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="69" height="80">&nbsp;</td>
                    <td width="222">&nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td valign="top"><table width="222" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="18"><img src="../../n_images/gui_imgbg0..gif" width="222" height="18"></td>
                      </tr>
                      <tr>
                        <td><a href="#" onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','../../n_images/gui_tsme11.gif',1)"><img src="../../n_images/gui_tsme1.gif" name="Image16" width="222" height="32" border="0" usemap="#Layer2" onMouseOver="MM_showHideLayers('Layer2','','show','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"></a></td>
                      </tr>
                      <tr>
                        <td><a href="#" onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','../../n_images/gui_tsme22.gif',1)"><img src="../../n_images/gui_tsme2.gif" name="Image10" width="222" height="120" border="0" usemap="#Layer3" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','show','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"></a></td>
                      </tr>
                      <tr>
                        <td><a href="#"onfocus=this.blur()  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','../../n_images/gui_tsme33.gif',1)"><img src="../../n_images/gui_tsme3.gif" name="Image11" width="222" height="30" border="0" usemap="#Layer4" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','show','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"></a></td>
                      </tr>
                      <tr>
                        <td><a href="#" onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','../../n_images/gui_imgbg44.gif',1)"><img src="../../n_images/gui_imgbg4.gif" name="Image12" width="222" height="30" border="0" usemap="#Layer5" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','show','Layer6','','hide','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"></a></td>
                      </tr>
                      <tr>
                        <td><a href="#" onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','../../n_images/gui_imgbg55.gif',1)"><img src="../../n_images/gui_imgbg5.gif" name="Image13" width="222" height="30" border="0" usemap="#Layer6" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','show','Layer7','','hide','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"></a></td>
                      </tr>
                      <tr>
                        <td><a href="#" onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','../../n_images/gui_imgbg66.gif',1)"><img src="../../n_images/gui_imgbg6.gif" name="Image14" width="222" height="29" border="0" usemap="#Layer7" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','show','Layer8','','hide')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"></a></td>
                      </tr>
                      <tr>
                        <td><a href="#" onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','../../n_images/gui_imgbg77.gif',1)"><img src="../../n_images/gui_imgbg7.gif" name="Image15" width="222" height="43" border="0" usemap="#Layer8" onMouseOver="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','show')" onMouseOut="MM_showHideLayers('Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide')"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','../../n_images/gui_imgbg66.gif',1)"></a></td>
                      </tr>
                    </table></td>
                  </tr>
 
                </table></td>
                <td width="390" valign="top">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
     
    </table></td>
  </tr>
|

댓글 1개

1. '애프리 ' 님이 원하는 페이지를 제작하는 방법은 여러가지가 있지만 제가 애용하며 일반적으로 많이 사용하는 방법의 소스 페이지를 아래와 같이 링크합니다.

2. 링크한 미리보기 페이지의 소스를 보시면 원하시는 결과를 얻을 수 있을겁니다. (현재 제가 제작 중인 사이트에 링크합니다.)

- 아래 예제 미리보기 : http://egreenworld.co.kr/GNU/sirH/sir_apri.html (2012년 4월 30일 까지만 게시할 예정입니다.)

3. 소스를 보시면 중앙정렬이며 APlayer 3개 (wingleft, centerLayer, wingright) 는 브라우저의 크기 변화에도 위치의 변화없이 고정되어 있음을 알 수 있습니다.

* 도움이 되시길 기원합니다.
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
13년 전 조회 2,917
13년 전 조회 682
13년 전 조회 939
13년 전 조회 1,329
13년 전 조회 743
13년 전 조회 2,359
13년 전 조회 960
13년 전 조회 1,640
13년 전 조회 1,874
13년 전 조회 1,694
13년 전 조회 1,014
13년 전 조회 1,300
13년 전 조회 817
13년 전 조회 671
13년 전 조회 1,340
13년 전 조회 1,026
13년 전 조회 869
13년 전 조회 789
13년 전 조회 965
13년 전 조회 740
13년 전 조회 1,267
13년 전 조회 976
13년 전 조회 674
13년 전 조회 1,273
13년 전 조회 899
13년 전 조회 1,641
13년 전 조회 1,065
13년 전 조회 3,537
13년 전 조회 1,598
13년 전 조회 2,187
13년 전 조회 819
13년 전 조회 479
13년 전 조회 1,153
13년 전 조회 1,943
13년 전 조회 838
13년 전 조회 2,079
13년 전 조회 785
13년 전 조회 1,135
13년 전 조회 1,840
13년 전 조회 1,156
13년 전 조회 830
13년 전 조회 1,523
13년 전 조회 3,831
13년 전 조회 549
13년 전 조회 620
13년 전 조회 808
13년 전 조회 3,938
13년 전 조회 1,287
13년 전 조회 1,457
13년 전 조회 1,481
13년 전 조회 778
13년 전 조회 658
13년 전 조회 800
13년 전 조회 1,603
13년 전 조회 977
13년 전 조회 1,305
13년 전 조회 2,504
13년 전 조회 973
13년 전 조회 1,288
13년 전 조회 1,403
13년 전 조회 754
13년 전 조회 3,496
13년 전 조회 1,264
13년 전 조회 2,786
13년 전 조회 1,115
13년 전 조회 800
13년 전 조회 850
13년 전 조회 722
13년 전 조회 1,290
13년 전 조회 1,387
13년 전 조회 2,698
13년 전 조회 4,276
13년 전 조회 742
13년 전 조회 3,306
13년 전 조회 686
13년 전 조회 1,135
13년 전 조회 747
13년 전 조회 1,121
13년 전 조회 1,862
13년 전 조회 1,173
13년 전 조회 653
13년 전 조회 1,319
13년 전 조회 930
13년 전 조회 1,337
13년 전 조회 1,796
13년 전 조회 1,103
13년 전 조회 751
13년 전 조회 1,942
13년 전 조회 1,226
13년 전 조회 800
13년 전 조회 748
13년 전 조회 1,111
13년 전 조회 645
13년 전 조회 1,759
13년 전 조회 1,034
13년 전 조회 1,068
13년 전 조회 685
13년 전 조회 1,324
13년 전 조회 2,129
13년 전 조회 654
🐛 버그신고