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

전체 표 가운데 정렬시 레이어 고정하기를 하고 있는데요...
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,905
13년 전 조회 669
13년 전 조회 934
13년 전 조회 1,317
13년 전 조회 734
13년 전 조회 2,351
13년 전 조회 950
13년 전 조회 1,625
13년 전 조회 1,864
13년 전 조회 1,687
13년 전 조회 999
13년 전 조회 1,290
13년 전 조회 805
13년 전 조회 659
13년 전 조회 1,327
13년 전 조회 1,018
13년 전 조회 865
13년 전 조회 781
13년 전 조회 954
13년 전 조회 735
13년 전 조회 1,259
13년 전 조회 966
13년 전 조회 667
13년 전 조회 1,267
13년 전 조회 892
13년 전 조회 1,633
13년 전 조회 1,054
13년 전 조회 3,532
13년 전 조회 1,590
13년 전 조회 2,180
13년 전 조회 809
13년 전 조회 468
13년 전 조회 1,145
13년 전 조회 1,934
13년 전 조회 828
13년 전 조회 2,074
13년 전 조회 770
13년 전 조회 1,125
13년 전 조회 1,828
13년 전 조회 1,145
13년 전 조회 813
13년 전 조회 1,512
13년 전 조회 3,822
13년 전 조회 539
13년 전 조회 607
13년 전 조회 801
13년 전 조회 3,930
13년 전 조회 1,278
13년 전 조회 1,452
13년 전 조회 1,470
13년 전 조회 770
13년 전 조회 645
13년 전 조회 791
13년 전 조회 1,596
13년 전 조회 970
13년 전 조회 1,296
13년 전 조회 2,497
13년 전 조회 963
13년 전 조회 1,284
13년 전 조회 1,393
13년 전 조회 745
13년 전 조회 3,490
13년 전 조회 1,254
13년 전 조회 2,770
13년 전 조회 1,105
13년 전 조회 793
13년 전 조회 843
13년 전 조회 712
13년 전 조회 1,284
13년 전 조회 1,373
13년 전 조회 2,692
13년 전 조회 4,270
13년 전 조회 731
13년 전 조회 3,297
13년 전 조회 677
13년 전 조회 1,128
13년 전 조회 740
13년 전 조회 1,110
13년 전 조회 1,851
13년 전 조회 1,164
13년 전 조회 647
13년 전 조회 1,312
13년 전 조회 923
13년 전 조회 1,323
13년 전 조회 1,791
13년 전 조회 1,091
13년 전 조회 746
13년 전 조회 1,933
13년 전 조회 1,215
13년 전 조회 795
13년 전 조회 738
13년 전 조회 1,098
13년 전 조회 643
13년 전 조회 1,750
13년 전 조회 1,027
13년 전 조회 1,057
13년 전 조회 679
13년 전 조회 1,317
13년 전 조회 2,124
13년 전 조회 647
🐛 버그신고