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

전체 표 가운데 정렬시 레이어 고정하기를 하고 있는데요...
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,915
13년 전 조회 678
13년 전 조회 936
13년 전 조회 1,325
13년 전 조회 739
13년 전 조회 2,358
13년 전 조회 957
13년 전 조회 1,636
13년 전 조회 1,872
13년 전 조회 1,691
13년 전 조회 1,010
13년 전 조회 1,297
13년 전 조회 815
13년 전 조회 670
13년 전 조회 1,335
13년 전 조회 1,024
13년 전 조회 868
13년 전 조회 786
13년 전 조회 961
13년 전 조회 739
13년 전 조회 1,264
13년 전 조회 973
13년 전 조회 671
13년 전 조회 1,270
13년 전 조회 899
13년 전 조회 1,639
13년 전 조회 1,063
13년 전 조회 3,536
13년 전 조회 1,594
13년 전 조회 2,187
13년 전 조회 815
13년 전 조회 475
13년 전 조회 1,151
13년 전 조회 1,940
13년 전 조회 833
13년 전 조회 2,076
13년 전 조회 783
13년 전 조회 1,134
13년 전 조회 1,838
13년 전 조회 1,153
13년 전 조회 825
13년 전 조회 1,520
13년 전 조회 3,831
13년 전 조회 544
13년 전 조회 616
13년 전 조회 805
13년 전 조회 3,935
13년 전 조회 1,284
13년 전 조회 1,454
13년 전 조회 1,477
13년 전 조회 776
13년 전 조회 655
13년 전 조회 798
13년 전 조회 1,600
13년 전 조회 974
13년 전 조회 1,301
13년 전 조회 2,501
13년 전 조회 967
13년 전 조회 1,287
13년 전 조회 1,401
13년 전 조회 752
13년 전 조회 3,494
13년 전 조회 1,261
13년 전 조회 2,779
13년 전 조회 1,112
13년 전 조회 797
13년 전 조회 848
13년 전 조회 719
13년 전 조회 1,288
13년 전 조회 1,382
13년 전 조회 2,695
13년 전 조회 4,273
13년 전 조회 737
13년 전 조회 3,301
13년 전 조회 684
13년 전 조회 1,132
13년 전 조회 745
13년 전 조회 1,118
13년 전 조회 1,860
13년 전 조회 1,169
13년 전 조회 652
13년 전 조회 1,316
13년 전 조회 927
13년 전 조회 1,333
13년 전 조회 1,795
13년 전 조회 1,099
13년 전 조회 749
13년 전 조회 1,939
13년 전 조회 1,223
13년 전 조회 799
13년 전 조회 742
13년 전 조회 1,107
13년 전 조회 644
13년 전 조회 1,759
13년 전 조회 1,033
13년 전 조회 1,067
13년 전 조회 682
13년 전 조회 1,321
13년 전 조회 2,127
13년 전 조회 652
🐛 버그신고