묻고답하기
꼭좀 알려주세요~~~~
2010.02.11 18:35
레이아웃 다운받아 사용하여 홈페이지 만들려고 하는데 완전 초짜입니다.
우선 아래 왼쪽으로 되있는 홈페이지를 가운데로 정열하고 내용입력하는 박스를 위쪽으로 올리고 싶습니다.
꼭 좀 알려주세요 소스 아래 있습니다
<!-- js 파일 import -->
<!--%import("js/moonhouse.js")-->
<!--// 레이아웃과 연동될 css 파일 import -->
<!--@if($layout_info->colorset == "simple")-->
<!--%import("css/simple.css")-->
<!--@else-->
<!--%import("css/normal.css")-->
<!--@end-->
<style type="text/css">
* { margin:0; padding:0; }
</style>
<!--@if($layout_info->scrollbar == "yes")-->
<style type="text/css">
HTML { scrollbar-face-color:{$layout_info->scrollbar_color};
scrollbar-shadow-color:gray;
scrollbar-highlight-color:#f0f0f0;
scrollbar-3dlight-color:#F0F0F0;
scrollbar-darkshadow-color:#ffffff;
scrollbar-track-color:#F0F0F0;
scrollbar-arrow-color:#ffffff;
</style>
<!--@end-->
<!-- 배경이미지 설정 -->
<style>
<!--@if(!$layout_info->bg_img)-->
body { background:url(./layouts/mh_simple/images/page_bg.jpg) repeat-x #3A0404; }
<!--@else-->
body { background:url({$layout_info->bg_img}) {$layout_info->layout_bgimg_align} top {$layout_info->layout_bgimg_repeat} {$layout_info->bg_color} }
<!--@end-->
</style>
<!-- /배경이미지 설정 -->
<!--@if(!$layout_info->colorset)-->
{@$layout_info->colorset = "simple"}
<!--@end-->
<!-- 메인이미지 설정 -->
<div id="wrapper" style=<!--@else-->"background:url({$layout_info->main_img}) no-repeat;"<!--@end--> />
<!-- /메인이미지 설정 -->
<div id="none"></div>
<!--logo-->
<div id="logo"><a href="{$layout_info->index_url}">
<!--@if(!$layout_info->logo_image)-->
{$layout_info->logo_text}<!--@else--><img src="{$layout_info->logo_image}" alt="Logo" class="iePngFix" />
<!--@end--></a></div>
<!--img-->
<ul id="img">
<!--@if(!$layout_info->img_image)--><!--@else-->
<img src="{$layout_info->img_image}" class="iePngFix" />
<!--@end-->
</ul>
<!-- 로그인 위젯 -->
<!--@if($layout_info->Login == "yes")-->
<ul id="logoin">
<img class="zbxe_widget_output" widget="login_info" skin="nuri_simple_login_garo" colorset="col_000" />
</ul>
<!--@end-->
<!--GNB-->
<ul id="gnb">
<!-- main_menu 1차 시작 -->
{@$gnb_count = 0;}
<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
<!--@if($val['selected'])-->
{@ $menu_1st = $val }
<!--@end-->
<li id="gnbli{$gnb_count}" <!--@if($val['selected'])-->class="on"<!--@end--> onmouseover="gnbinToggle({$gnb_count}, this)" ><a href="{$val['href']}" onfocus="this.blur()" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}</a></li>{@$gnb_count++;}
<!--@end--><!--@end-->
<!-- main_menu 1차 끝 -->
</ul>
<!--//GNB-->
<script type="text/javascript">
var gnb_count = {$gnb_count};
</script>
<!-- 2차 메뉴 -->
{@$gnb_count = 0;}
<!--@foreach($main_menu->list as $mkey => $mval)-->
<!--@if($mval['text'])-->
<!-- 왼쪽 2차 메뉴 -->
<!--@if($mval['selected'])-->
<ol id="gnb{$gnb_count}" class="gnb_sub" style="display:block;">
<!--@if(!$mval['list'])--><li></li><!--@end-->
<!--@foreach($mval['list'] as $key => $val)--><!--@if($val['text'])-->
<li <!--@if($val['+
'selected'])-->class="on"<!--@end-->><a href="{$val['href']}" onfocus="this.blur();" <!--@if($val['open_window']=='+
'Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['text']}</a>
</li>
<!--@end--><!--@end-->
</ol>
<script type="text/javascript">
var gnb_count_now = {$gnb_count};
reset_menu();
</script>
<!--@else-->
<ol id="gnb{$gnb_count}" class="gnb_sub" style="display:none;">
<!--@if(!$mval['list'])--><li></li><!--@end-->
<!--@foreach($mval['list'] as $key => $val)--><!--@if($val['text'])-->
<li><a href="{$val['href']}" onfocus="this.blur();" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['text']}</a>
</li>
<!--@end--><!--@end-->
</ol>
<!--@end-->
{@$gnb_count++;}
<!--@end--><!--@end-->
<!-- 공지 위젯 시작-->
<!--/ 공지 위젯 끝-->
</div>
</div>
<!-- 본문 -->
<div id="content">
<div id="body" style=<!--@if(!$layout_info->body_color)-->"background-color:#901315;"<!--@else-->"background-color:{$layout_info->body_color};"<!--@end--> />
{$content}
<div class="clear">
</div>
</div>
<!-- // 본문 끝 -->
<!-- 우측메뉴 -->
<!--@if($layout_info->colorset == "normal")-->
<div id="rightColumn">
<!-- 우측서브메뉴 -->
<!--@if($menu_1st['list'])-->
<div id="lnb_top"> </div>
<ol id="lnb">
<li><div id="subtitle">{$menu_1st['text']}</div></li>
{@ $idx = 1 }
<!--@foreach($menu_1st['list'] as $key => $val)--><!--@if($val['link'])-->
<li <!--@if($val['selected'])-->class="on"<!--@end-->><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}</a>
<!-- main_menu 3차 시작 -->
<!--@if($val['list'] && ($val['expand']=='Y'||$val['selected']) )-->
<ul>
<!--@foreach($val['list'] as $k => $v)--><!--@if($v['link'])-->
<li <!--@if($v['selected'+
'])-->class="on"<!--@end-->><a href="{$v['href']}" <!--@if($v['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$v['link']}</a></li>
<!--@end--><!--@end-->
</ul>
<!--@end-->
</li>
{@$idx++}
<!--@end--><!--@end-->
</ol>
<div id="lnb_btom"><img src="images/none.gif" /> </div>
<!--@else--><!--@end-->
<!-- /우측서브메뉴 -->
<div class="title_r">Widgets</div>
<div class="rightDiv">
<!-- 이곳에 위젯삽입 하세요-->
<!-- // 위젯삽입 끝 -->
</div>
</div><!--@else-->
<!--@end-->
<!-- // 우측메뉴 끝 -->
<!-- 바닥 -->
<div id="bottom">
<ul class="b_menu">
<!--@foreach($bottom_menu->list as $key => $val)--><!--@if($val['link'])-->
<!--@if($val['selected'+
'])-->
{@ $menu_1st = $val }
<!--@end-->
<!--@if($val['selected'])--><!--@end--><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}</a> |
<!--@endif--><!--@endforeach-->
<!--@if($logged_info)-->
<a href="{getUrl('act','dispMemberLogout')}">Logout</a>
| <a href="{geturl('act','dispMemberInfo')}">MyInfo</a>
<!--@else-->
<a href="{getUrl('act','dispMemberLoginForm')}">Login</a>
| <a href="{getUrl('act','dispMemberSignUpForm')}">Join</a>
<!--@end-->
<!--@if($logged_info->is_admin=="Y")-->
| <a href="{getUrl('act','dispLayoutAdminEdit','layout_srl',$layout_info->layout_srl)}">Edit</a>
| <a href="{getUrl('act','dispLayoutAdminModify','+
'layout_srl',$layout_info->layout_srl)}">Modify</a>
| <a href="{getUrl(','module','admin')}" " onclick="window.open(this.href); return false;">Admin</a>
<!--@else-->
| <a href="javascript_:bookmarksite('{$layout_info->fa}', '{$layout_info->index_url}')">Bookmark</a>
<!--@end-->
| <a href="{getUrl(','module','layout','act','dispLayoutInfo','selected_layout','mh_simple')}" onclick="popopen(this.href,'+
'layoutSkinInfo'); return false;"><img src="images/buttonHelp.gif" alt="Skin Info" width="13" height="13"/></a>
</ul>
<ul class="footer" >
<!--@if(!$layout_info->copyright)--><!--@else-->{$layout_info->copyright} / <!--@end-->
</ul>
<ul class="b_text">
<!--@if(!$layout_info->b_text1)--><!--@else-->{$layout_info->b_text1}<!--@end--><br />
<!--@if(!$layout_info->b_text2)--><!--@else-->{$layout_info->b_text2}<!--@end-->
</ul>
</div>
<!-- // 바닥 끝 -->
</div>
</div>