문의드립니다. 정보
문의드립니다.본문
안녕하세요?
사진에 보시면... 빨간색으로 지정한 부분있습니다.. 거기 폭을.... 없애고 싶은데....
아무리해도 안되네요..
어쩔수없이 질답 게시판에 글 남깁니다......
아래 소스입니다.. 부탁드립니다.
===============================================
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
@include_once("$mw_index_skin_head_path/menu.more.skin.php");
$index_width = $mw[config][cf_index_width];
?>
<link rel="stylesheet" href="<?=$mw_index_skin_head_path?>/style.css" type="text/css"/>
<style type="text/css">
body { text-align:center; }
#mw-index { width:<?=$index_width?><?=$index_width>100?'px':'%'?>; margin:10px auto 0 auto; text-align:left; }
#head { }
#head .logo { }
#head .groups { color:#ddd; font-size:10px; text-align:right; vertical-align:bottom; padding:0 5px 2px 0; }
#head .groups a { color:#555; font-weight:bold; margin:0 2px 0 2px; }
#head .line { background:url(<?=$mw_index_skin_head_path?>/img/mw_search_div.gif) top center no-repeat; height:3px; line-height:1px; font-size:1px; }
#head .shadow { background:url(<?=$mw_index_skin_head_path?>/img/mw_search_shadow.gif) top center repeat-x; }
#head .shadow { height:2px; line-height:1px; font-size:1px; width:<?=$mw[config][cf_index_width]-20?>px; margin:auto; }
#head .left-link { margin:10px 0 0 10px; }
#head .left-link a { color:#E2F6FF; font-weight:bold; }
#head .right-link { margin:10px 0 0 0; }
#head .right-link a { color:#E2F6FF; font-weight:bold; }
#head .quick-div { color:#ddd; font-size:8pt; }
#head .mw-scrolls { height:25px; margin:5px 0 0 0; }
#head .keyword-scroll { float:right; width:196px; height:25px; text-align:left; margin:6px 0 0 0; }
#head .keyword-name { float:right; color:#004c7f; font-weight:bold; margin:12px 5px 0 0; }
#head .new-name { float:left; margin:5px 5px 0 5px; color:#004c7f; font-weight:bold; }
#head .new-name a { color:#004c7f; font-weight:bold; }
#head .new-scroll { float:left; height:25px; text-align:left; }
#head .mw-index-menu-bar { clear:both; height:36px; margin:10px 0 0 0; background:url(<?=$mw_index_skin_head_path?>/img/search_bar_bg.gif); }
#head .mw-index-menu-bar a:hover,
#head .mw-index-menu-bar a:link,
#head .mw-index-menu-bar a:active,
#head .mw-index-menu-bar a:visited
{ color:#4b4843; text-decoration:none; } /* 메뉴 글자색 */
#head .mw-index-menu-left { height:36px; float:left; }
#head .mw-index-menu-right { height:36px; float:right; }
#head .mw-index-menu-item { float:left; padding:12px 7px 0 7px; font:bold 12px 'gulim'; }
#head .mw-index-menu-div { width:10px; height:36px; float:left; background:url(<?=$mw_index_skin_head_path?>/img/search_bar_div.gif) center no-repeat; }
#head .mw-index-menu-select1 { height:28px; float:left; padding:0; margin:4px 5px 0 5px; background:url(<?=$mw_index_skin_head_path?>/img/search_select_bg.gif); }
#head .mw-index-menu-select2 { height:28px; float:left; background:url(<?=$mw_index_skin_head_path?>/img/search_select_left.gif) top left no-repeat; padding:0; margin:0; }
#head .mw-index-menu-select3 { height:28px; float:right; padding:7px 10px 0 10px; margin:0; background:url(<?=$mw_index_skin_head_path?>/img/search_select_right.gif) top right no-repeat; }
#head .mw-index-menu-select3 a:hover,
#head .mw-index-menu-select3 a:link,
#head .mw-index-menu-select3 a:active,
#head .mw-index-menu-select3 a:visited
{ color:#000; font-weight:bold; }
#head .search-box { height:30px; margin-top:0px; clear:both; } /* 검색 상단 높이 지정 */
#head .search-text {
border:5px solid #bca182; /* total color 검색바 테두리 */
height:25px;
float:left;
margin:0 0 7px 0;
background:#fff; /* 테스트1 */
}
#head .search-text input {
border:0;
font-size:15px;
font-weight:bold;
margin:2px 0 0 5px;
width:250px;
outline:none;
}
#head .search-button {
width:50px;
height:35px;
border:0px solid #bca182; /* 검색 버튼 테두리 */
background-color:#bca182; /* 검색 버튼 내부 색상 */
color:#fff; /* 테스트2 버튼 색상*/
font-weight:bold;
cursor:pointer;
float:left;
margin:0 0 0 7px;
}
#head .quick-link-box {
margin-top:5px;
text-align:center;
clear:both;
}
#head .quick-link { float:left; padding:0 5px 0 5px; }
#head .quick-link { font-family:dotum; color:#383D41; font-size:11px; }
</style>
<div id="mw-index">
<!-- 헤더 시작 -->
<div id="head">
<table border=0 width=805 cellpadding=0 cellspacing=0 style="margin:0 auto 0 auto;">
<tr>
<tr bgcolor=4f4841>
<td class="logo"><!-- 사이트 로고 --><a href="<?=$mw[index_url]?>"><img src="<?=$mw_index_skin_head_path?>/img/mw_logo.gif"></a></td>
<td width=0></td>
<td>
<!-- 중앙검색창 -->
<form name=fsearch action="<?=$g4[bbs_path]?>/search.php" class="search-box">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<?//=$group_select?>
<span class="search-text"><input type=text name=stx></span>
<input type=submit value="검색" class="search-button">
</form>
</table>
<div class="mw-index-menu-bar">
<div class="mw-index-menu-left"><img src="<?=$mw_index_skin_head_path?>/img/search_bar_left.gif"></div>
<!-- 그룹 메뉴 -->
<? for ($i=0; $i<$mw_groups_head_count; $i++) { ?>
<? if ($i > 0) echo "<span class='mw-index-menu-div'></span>"; ?>
<div class="mw-index-menu-item"><a href="<?=$mw_groups_head[$i][gr_url]?>" target="<?=$mw_groups_head[$i][gr_target]?>" style="<?=$mw_groups_head[$i][gr_more_css]?>"><?=$mw_groups_head[$i][gr_subject]?></a></div>
<? } ?>
<div class="mw-index-menu-right"><img src="<?=$mw_index_skin_head_path?>/img/search_bar_right.gif"></div>
<div class="keyword-scroll"><!-- 인기검색어 스크롤 : 스킨, 갯수, 간격 --><?=mw_popular("mw.scroll.3", 10, 1, 60)?></div>
<div class="keyword-name">인기검색어 : </div>
</div>
</div><!-- head -->
사진에 보시면... 빨간색으로 지정한 부분있습니다.. 거기 폭을.... 없애고 싶은데....
아무리해도 안되네요..
어쩔수없이 질답 게시판에 글 남깁니다......
아래 소스입니다.. 부탁드립니다.
===============================================
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
@include_once("$mw_index_skin_head_path/menu.more.skin.php");
$index_width = $mw[config][cf_index_width];
?>
<link rel="stylesheet" href="<?=$mw_index_skin_head_path?>/style.css" type="text/css"/>
<style type="text/css">
body { text-align:center; }
#mw-index { width:<?=$index_width?><?=$index_width>100?'px':'%'?>; margin:10px auto 0 auto; text-align:left; }
#head { }
#head .logo { }
#head .groups { color:#ddd; font-size:10px; text-align:right; vertical-align:bottom; padding:0 5px 2px 0; }
#head .groups a { color:#555; font-weight:bold; margin:0 2px 0 2px; }
#head .line { background:url(<?=$mw_index_skin_head_path?>/img/mw_search_div.gif) top center no-repeat; height:3px; line-height:1px; font-size:1px; }
#head .shadow { background:url(<?=$mw_index_skin_head_path?>/img/mw_search_shadow.gif) top center repeat-x; }
#head .shadow { height:2px; line-height:1px; font-size:1px; width:<?=$mw[config][cf_index_width]-20?>px; margin:auto; }
#head .left-link { margin:10px 0 0 10px; }
#head .left-link a { color:#E2F6FF; font-weight:bold; }
#head .right-link { margin:10px 0 0 0; }
#head .right-link a { color:#E2F6FF; font-weight:bold; }
#head .quick-div { color:#ddd; font-size:8pt; }
#head .mw-scrolls { height:25px; margin:5px 0 0 0; }
#head .keyword-scroll { float:right; width:196px; height:25px; text-align:left; margin:6px 0 0 0; }
#head .keyword-name { float:right; color:#004c7f; font-weight:bold; margin:12px 5px 0 0; }
#head .new-name { float:left; margin:5px 5px 0 5px; color:#004c7f; font-weight:bold; }
#head .new-name a { color:#004c7f; font-weight:bold; }
#head .new-scroll { float:left; height:25px; text-align:left; }
#head .mw-index-menu-bar { clear:both; height:36px; margin:10px 0 0 0; background:url(<?=$mw_index_skin_head_path?>/img/search_bar_bg.gif); }
#head .mw-index-menu-bar a:hover,
#head .mw-index-menu-bar a:link,
#head .mw-index-menu-bar a:active,
#head .mw-index-menu-bar a:visited
{ color:#4b4843; text-decoration:none; } /* 메뉴 글자색 */
#head .mw-index-menu-left { height:36px; float:left; }
#head .mw-index-menu-right { height:36px; float:right; }
#head .mw-index-menu-item { float:left; padding:12px 7px 0 7px; font:bold 12px 'gulim'; }
#head .mw-index-menu-div { width:10px; height:36px; float:left; background:url(<?=$mw_index_skin_head_path?>/img/search_bar_div.gif) center no-repeat; }
#head .mw-index-menu-select1 { height:28px; float:left; padding:0; margin:4px 5px 0 5px; background:url(<?=$mw_index_skin_head_path?>/img/search_select_bg.gif); }
#head .mw-index-menu-select2 { height:28px; float:left; background:url(<?=$mw_index_skin_head_path?>/img/search_select_left.gif) top left no-repeat; padding:0; margin:0; }
#head .mw-index-menu-select3 { height:28px; float:right; padding:7px 10px 0 10px; margin:0; background:url(<?=$mw_index_skin_head_path?>/img/search_select_right.gif) top right no-repeat; }
#head .mw-index-menu-select3 a:hover,
#head .mw-index-menu-select3 a:link,
#head .mw-index-menu-select3 a:active,
#head .mw-index-menu-select3 a:visited
{ color:#000; font-weight:bold; }
#head .search-box { height:30px; margin-top:0px; clear:both; } /* 검색 상단 높이 지정 */
#head .search-text {
border:5px solid #bca182; /* total color 검색바 테두리 */
height:25px;
float:left;
margin:0 0 7px 0;
background:#fff; /* 테스트1 */
}
#head .search-text input {
border:0;
font-size:15px;
font-weight:bold;
margin:2px 0 0 5px;
width:250px;
outline:none;
}
#head .search-button {
width:50px;
height:35px;
border:0px solid #bca182; /* 검색 버튼 테두리 */
background-color:#bca182; /* 검색 버튼 내부 색상 */
color:#fff; /* 테스트2 버튼 색상*/
font-weight:bold;
cursor:pointer;
float:left;
margin:0 0 0 7px;
}
#head .quick-link-box {
margin-top:5px;
text-align:center;
clear:both;
}
#head .quick-link { float:left; padding:0 5px 0 5px; }
#head .quick-link { font-family:dotum; color:#383D41; font-size:11px; }
</style>
<div id="mw-index">
<!-- 헤더 시작 -->
<div id="head">
<table border=0 width=805 cellpadding=0 cellspacing=0 style="margin:0 auto 0 auto;">
<tr>
<tr bgcolor=4f4841>
<td class="logo"><!-- 사이트 로고 --><a href="<?=$mw[index_url]?>"><img src="<?=$mw_index_skin_head_path?>/img/mw_logo.gif"></a></td>
<td width=0></td>
<td>
<!-- 중앙검색창 -->
<form name=fsearch action="<?=$g4[bbs_path]?>/search.php" class="search-box">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<?//=$group_select?>
<span class="search-text"><input type=text name=stx></span>
<input type=submit value="검색" class="search-button">
</form>
</table>
<div class="mw-index-menu-bar">
<div class="mw-index-menu-left"><img src="<?=$mw_index_skin_head_path?>/img/search_bar_left.gif"></div>
<!-- 그룹 메뉴 -->
<? for ($i=0; $i<$mw_groups_head_count; $i++) { ?>
<? if ($i > 0) echo "<span class='mw-index-menu-div'></span>"; ?>
<div class="mw-index-menu-item"><a href="<?=$mw_groups_head[$i][gr_url]?>" target="<?=$mw_groups_head[$i][gr_target]?>" style="<?=$mw_groups_head[$i][gr_more_css]?>"><?=$mw_groups_head[$i][gr_subject]?></a></div>
<? } ?>
<div class="mw-index-menu-right"><img src="<?=$mw_index_skin_head_path?>/img/search_bar_right.gif"></div>
<div class="keyword-scroll"><!-- 인기검색어 스크롤 : 스킨, 갯수, 간격 --><?=mw_popular("mw.scroll.3", 10, 1, 60)?></div>
<div class="keyword-name">인기검색어 : </div>
</div>
</div><!-- head -->
댓글 전체
#mw-index { width:<?=$index_width?><?=$index_width>100?'px':'%'?>; margin:10px auto 0 auto; text-align:left; }
margin:10px - >margin:0px 이렇게 한번 해보세요
margin:10px - >margin:0px 이렇게 한번 해보세요
감사합니다~!!!