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

전체 표 가운데 정렬시 레이어 고정하기를 하고 있는데요...
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,901
13년 전 조회 665
13년 전 조회 931
13년 전 조회 1,315
13년 전 조회 728
13년 전 조회 2,347
13년 전 조회 948
13년 전 조회 1,623
13년 전 조회 1,862
13년 전 조회 1,683
13년 전 조회 997
13년 전 조회 1,286
13년 전 조회 802
13년 전 조회 658
13년 전 조회 1,321
13년 전 조회 1,013
13년 전 조회 862
13년 전 조회 779
13년 전 조회 948
13년 전 조회 734
13년 전 조회 1,257
13년 전 조회 963
13년 전 조회 664
13년 전 조회 1,259
13년 전 조회 887
13년 전 조회 1,630
13년 전 조회 1,050
13년 전 조회 3,527
13년 전 조회 1,588
13년 전 조회 2,172
13년 전 조회 807
13년 전 조회 464
13년 전 조회 1,142
13년 전 조회 1,931
13년 전 조회 826
13년 전 조회 2,071
13년 전 조회 768
13년 전 조회 1,123
13년 전 조회 1,827
13년 전 조회 1,142
13년 전 조회 807
13년 전 조회 1,508
13년 전 조회 3,816
13년 전 조회 536
13년 전 조회 604
13년 전 조회 795
13년 전 조회 3,926
13년 전 조회 1,276
13년 전 조회 1,449
13년 전 조회 1,466
13년 전 조회 766
13년 전 조회 643
13년 전 조회 789
13년 전 조회 1,595
13년 전 조회 967
13년 전 조회 1,293
13년 전 조회 2,492
13년 전 조회 959
13년 전 조회 1,279
13년 전 조회 1,388
13년 전 조회 741
13년 전 조회 3,489
13년 전 조회 1,252
13년 전 조회 2,768
13년 전 조회 1,102
13년 전 조회 791
13년 전 조회 841
13년 전 조회 709
13년 전 조회 1,283
13년 전 조회 1,369
13년 전 조회 2,691
13년 전 조회 4,267
13년 전 조회 729
13년 전 조회 3,295
13년 전 조회 675
13년 전 조회 1,125
13년 전 조회 738
13년 전 조회 1,107
13년 전 조회 1,848
13년 전 조회 1,162
13년 전 조회 646
13년 전 조회 1,307
13년 전 조회 919
13년 전 조회 1,320
13년 전 조회 1,788
13년 전 조회 1,090
13년 전 조회 746
13년 전 조회 1,929
13년 전 조회 1,215
13년 전 조회 791
13년 전 조회 735
13년 전 조회 1,096
13년 전 조회 642
13년 전 조회 1,747
13년 전 조회 1,026
13년 전 조회 1,055
13년 전 조회 676
13년 전 조회 1,315
13년 전 조회 2,123
13년 전 조회 645
🐛 버그신고