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

전체 표 가운데 정렬시 레이어 고정하기를 하고 있는데요...
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,899
13년 전 조회 662
13년 전 조회 925
13년 전 조회 1,313
13년 전 조회 726
13년 전 조회 2,345
13년 전 조회 947
13년 전 조회 1,619
13년 전 조회 1,854
13년 전 조회 1,679
13년 전 조회 994
13년 전 조회 1,282
13년 전 조회 799
13년 전 조회 655
13년 전 조회 1,319
13년 전 조회 1,011
13년 전 조회 861
13년 전 조회 777
13년 전 조회 944
13년 전 조회 731
13년 전 조회 1,255
13년 전 조회 960
13년 전 조회 658
13년 전 조회 1,255
13년 전 조회 886
13년 전 조회 1,629
13년 전 조회 1,050
13년 전 조회 3,523
13년 전 조회 1,588
13년 전 조회 2,171
13년 전 조회 804
13년 전 조회 459
13년 전 조회 1,141
13년 전 조회 1,929
13년 전 조회 826
13년 전 조회 2,071
13년 전 조회 765
13년 전 조회 1,119
13년 전 조회 1,824
13년 전 조회 1,140
13년 전 조회 807
13년 전 조회 1,505
13년 전 조회 3,812
13년 전 조회 535
13년 전 조회 603
13년 전 조회 791
13년 전 조회 3,925
13년 전 조회 1,275
13년 전 조회 1,447
13년 전 조회 1,464
13년 전 조회 763
13년 전 조회 641
13년 전 조회 787
13년 전 조회 1,594
13년 전 조회 962
13년 전 조회 1,293
13년 전 조회 2,490
13년 전 조회 956
13년 전 조회 1,278
13년 전 조회 1,387
13년 전 조회 739
13년 전 조회 3,486
13년 전 조회 1,249
13년 전 조회 2,766
13년 전 조회 1,099
13년 전 조회 789
13년 전 조회 839
13년 전 조회 709
13년 전 조회 1,282
13년 전 조회 1,368
13년 전 조회 2,691
13년 전 조회 4,267
13년 전 조회 726
13년 전 조회 3,293
13년 전 조회 672
13년 전 조회 1,122
13년 전 조회 734
13년 전 조회 1,106
13년 전 조회 1,847
13년 전 조회 1,160
13년 전 조회 645
13년 전 조회 1,304
13년 전 조회 918
13년 전 조회 1,316
13년 전 조회 1,787
13년 전 조회 1,089
13년 전 조회 745
13년 전 조회 1,928
13년 전 조회 1,209
13년 전 조회 791
13년 전 조회 734
13년 전 조회 1,091
13년 전 조회 640
13년 전 조회 1,746
13년 전 조회 1,026
13년 전 조회 1,052
13년 전 조회 676
13년 전 조회 1,313
13년 전 조회 2,121
13년 전 조회 644
🐛 버그신고