오른쪽 부분을 왼쪽으로 옴기고 싶습니다.

오른쪽 부분을 왼쪽으로 옴기고 싶습니다.

QA

오른쪽 부분을 왼쪽으로 옴기고 싶습니다.

답변 1

본문

333.jpg
 
안녕하세요?
오른쪽 빨간 테두리 부분을..왼쪽으로 옴기고싶습니다.  도움 부탁드립니다..
 
 
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/plugin/board_group/lib.php");
// 메인 배너
?>
 <meta name="description" content="김용문학관,신조협려,의천도룡기,소오강호,천룡팔부,서검은구록,벽혈검,협객행,육맥신검,허죽전기,무협드라마,중국드라마,신조협려2006,의천도룡기2009,소오강호2013 ,천룡팔부2014,">
 

<!-- 메인 시작 -->
<table width="100%" id="main" border=0 cellpadding=0 cellspacing=0>
<tr>
<td valign="top">
   <a href="<?=$main_banner[0][url]?>" target="<?=$main_banner[0][tar]?>"
         id="main_banner_url"></a></div>
 
 <!-- 갯수 자료갯수 출력 -->
 <?php 
 function board_count($bo_table){ 
  $Row = sql_fetch(" select bo_count_write from g4_board where bo_table = '".$bo_table."' "); 
  return $Row['bo_count_write']; 
 } 
?> 
<!-- 갯수 자료갯수 출력 여기까지 -->
<?=mw_latest("no1", notice, 10, 56); // ?>
<!-- 자막자료실 -->
<?=mw_latest_tab("mw.tab", "A05,B74,B42,B43,B63,B73", 7, 77, 0, 0)?>  
<!-- 자막자료실 여기까지 -->
<?=mw_latest("no2", 123, 5, 56); // ?>
 
 
 
<td width="5"></td>
<td width="250" valign="top">
  
     
eeeeeeeeee
 
<?=outlogin("a1")?>
    <div class="latest-block"><?=mw_latest("mw.news", "notice", 5, 40, 0, $mw[config][cf_index_cache])?></div>

<?include_once("./include/point_lank.php");//포인트순위?> 
 
    <style type="text/css">
    #mw_image_tab { border:1px solid #f0e2d0; border-bottom:0; margin:5px 0 0 0; height:250px; }
    #mw_image_tab .tab_menupan { height:35px; font-family:dotum; background:url(<?=$mw_index_skin_main_path?>/img/tab_image_bg.gif); }
    #mw_image_tab .tab_menupan .tab_title { display:inline; float:left; margin:15px 30px 0 15px; font-weight:bold; letter-spacing:-1px; }
    #mw_image_tab .tab_menupan .tab_menu { display:inline; float:left; cursor:pointer; margin:0; width:57px; height:35px; text-align:center; letter-spacing:-1px; font-size:11px; }
    #mw_image_tab .tab_menupan .tab_menu div { margin:15px 0 0 0; }
    #mw_image_tab .tab_item { margin:10px 0 0 5px; display:none; }
    </style>
   
 
    <script type="text/javascript">
    function mw_image_tab_over(n) {
        $(".tab_item").each(function () {
            $(this).css("display", "none");
        });
        $(".tab_menu").each(function () {
            $(this).css("font-weight", "normal");
            $(this).css("background", "none");
        });
        $("#tab_item"+n).css("display", "block");
        $("#tab_menu"+n).css("font-weight", "bold");
        $("#tab_menu"+n).css("background", "url(<?=$mw_index_skin_main_path?>/img/tab_image.gif)");
    }
    mw_image_tab_over(1);
    </script>
</td>
</tr>
</table><!-- main -->

<div style=" clear:both; border-top:3px solid #636870; background-color:#f0e2d0; border-bottom:1px solid #f0e2d0; height:35px;">
    <div class="new-name"><a href="<?=$g4[bbs_path]?>/new.php">최근게시물</a> : </div>
    <div class="new-scroll"><!-- 최근게시물 --><?=mw_new("mw.index.scroll", 10, 50, 0)?></div> 
    <div style="float:right; width:250px;">
        <div style="margin:8px 0 0 0;"><a href="#"><img src="<?=$mw_index_skin_main_path?>/img/site-use.gif"></a></div>
    </div>
</div>
<style type="text/css">
.new-name { float:left; margin:10px 5px 0 10px; font-weight:bold; }
.new-name a { font-weight:bold; color:#666; font-size:11px; }
.new-scroll { float:left; height:25px; text-align:left; margin:6px 0 0 0; }
#mw-index-new-layer .item a { color:#666; font-size:11px; }
</style>
</div><!-- mw-index -->
<script type="text/javascript"> fsearch.stx.focus(); </script>
 
 

이 질문에 댓글 쓰기 :

답변 1

지금 td가 세개 있거든요

<td valign="top">옮기려는 부분</td>
<td width="5"></td>
<td width="250" valign="top">빨간색 테두리 부분</td>

이렇게인데 빨간색 테두리에 있는 내용이 마지막 td에 들어가있어요
옮기려는 부분은 첫번째 td에 들어가있구요

이 안에 있는 내용을 서로 바꾸면 될거 같아요 

td는

<td width="250" valign="top">빨간색 테두리 부분</td>
<td width="5"></td>
<td valign="top">옮기려는 부분</td>

이렇게 바꾸시구요
답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 10,637
© SIRSOFT
현재 페이지 제일 처음으로