상위로 이동
로그인
오마이사이트

지식나눔

IE 에서는 잘 나오는 레이어가 파이어폭스, 크롬에서는 엉뚱한 곳에 나올 때

 
*. IE 에서는 정상으로 나오던 내용
...
<td style='postiion:relative'>
 <div id='MMSUBLY-popup' style='width:300px;left:{$T_popup_leftpx};top:10px;display:{display};position:absolute'>
  <table border='0' cellspacing='0' cellpadding='0'>
   <tr>
    <td width='40'></td>
    $btn_add_popup_top
    <td><a href='{$DIRS[designer_root]}popup_list.php'{$frame_target} class='smenu'>팝업목록</a></td>
   </tr>
  </table>
 </div>
</td>
...
 
 
 
*. 파이어폭스, 크롬 등에서는 정상으로 나오지 않아, 몇 시간을 고심하던 중 아래와 같이 수정한 후 해결됨
...
<td>
<div style='position:relative;'>
 <div id='MMSUBLY-popup' style='width:300px;left:{$T_popup_leftpx};top:10px;display:{display};position:absolute'>
  <table border='0' cellspacing='0' cellpadding='0'>
   <tr>
    <td width='40'></td>
    $btn_add_popup_top
    <td><a href='{$DIRS[designer_root]}popup_list.php'{$frame_target} class='smenu'>팝업목록</a></td>
   </tr>
  </table>
 </div>
</div>
</td>
...
 
공유하기
등록자

이주한

등록일
2010-08-12 08:48
조회
20,766