상태 | 완료 |
---|
안녕하세요?
홈피를 거의 다 완성했는데, 카피라이터가 가운데 정렬이 되질 않습니다.
레이아웃 설정에 카피라이터 좌측 여백 주기가 있기는 하지만 반응이 없습니다.
아래 코드의 어느곳을 수정해야 카피라이터가 조정될까요?
레이아웃은 선우님것을 사용하는데, 선우님이 출장중이라 답변이 없습니다. ㅠ.ㅠ
<!-- layout js file -->
<!--%import("js/sunooNSL.js")-->
<!--%import("js/ddmenu.js")-->
<!-- layout css file -->
<!--%import("css/normal.css")-->
<!--%import("css/colorset.css")-->
<!-- language code file -->
<!--%import("lang")-->
{@ $lang_code = substr($lang_type,0,2) }
<{@$lang_code='ko'}{@$layout_info->colorset='default'}!--@end--><!--@end--></ul></div>
<div id="accessTop">
<!--@if($is_logged)-->
<li class="logout"><a href="{getUrl('act','dispMemberLogout')}"><span>LOGOUT</span></a></li>
<li class="profileT"><button type="button" onclick="jQuery('#profile').toggleClass('active');"><span>Profile</span></button>
<!-- profile -->
<div id="profile" class="profile">
<!-- class="profile" | class="profile active" -->
<button type="button" class="close" onclick="jQuery('#profile').toggleClass('active');" accesskey="X"><span>Close profile layer</span></button>
<h2 class="authorName">{$logged_info->nick_name}</h2>
<ul> {@ $oPointModel = &getModel('point'); $point = $oPointModel->getPoint($logged_info->member_srl);
$oModuleModel = &getModel('module'); $config = $oModuleModel->getModuleConfig('point');
$level = $oPointModel->getLevel($point, $config->level_step); }
<li class="point">{$lang->sl_point} : {$point} p </li>
<menu_list">!--@foreach($logged_info->menu_list as $key => $val)-->
<li><a href="{getUrl('act',$key,'member_srl','')}">{Context::getLang($val)}</a></li><!--@end-->
<is_admin">!--@if($logged_info->is_admin == 'Y')-->
<li class="admin"><a href="{getUrl(','module','admin')}" onclick="window.open(this.href); return false;">{$lang->sl_management}</a></li><!--@end-->
</ul>
<div id="latestLogin" class="latestLogin">{$lang->last_login} :<br /> {zDate($logged_info->last_login, "Y-m-d(H:i)")}</div>
</div><!-- /end profile -->
</li><!--@else-->
<li class="login">
<button type="button" title="{$lang->sl_show_login}" onclick="jQuery('#popupLog').css('display','block');" accesskey="L"><span>LOGIN</span></button>
</li>
<li class="register"><a href="{getUrl('act','dispMemberSignUpForm')}" title="{$lang->sl_show_join}" ><span>Register</span></a></li>
<!--@end-->
</div><!-- /end access -->
<div id="sitemapTop">
<button type="button" onclick="jQuery('#tmLayer').toggleClass('opens');"><span>sitemap</span></button></div>
<div id="totalMenuT" >
<!-- class="totalMenu" | class="totalMenu opens" -->
<div id="tmLayer" class="tmLayer">
<div class="tmList logo">
<a href="{$layout_info->index_url}"><totalMenu_logoImage">!--@if(!$layout_info->totalMenu_logoImage)-->
<img src="images/bgicons/sitemapImg.gif" alt="home" /><!--@else-->
<img src="{$layout_info->totalMenu_logoImage}" alt="home" /><!--@end--></a></div>
<list">!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
<div class="tmList">
<h2><a href='{$val['href']}'>{$val['link']}</a></h2>
<!--@foreach($val['list'] as $key1 => $val1)--><!--@if($val1['link'])-->
<ul><a href='{$val1['href']}'>{$val1['link']}</a>
<!--@foreach($val1['list'] as $key2 => $val2)--><!--@if($val2['link'])-->
<li><a href='{$val2['href']}'>{$val2['link']}</a></li>
<!--@end--> <<script ">!--@if(!$layout_info->top_image)--><script type="text/javascript">
displayMultimedia("http://localhost/layouts/xe_sunooNSL/images/topimage.swf","{$homeBody_width}","{$flashimage_height}",false);</script>
<<script ">!--@else--><script type="text/javascript">
displayMultimedia("{$layout_info->top_image}","{$homeBody_width}","{$flashimage_height}",false);</script><!--@end-->
<div class="logoimg"><a href="{$index_url}"><top_logo">!--@if(!$layout_info->top_logo)-->
<img src="./images/bgicons/xeLogo.gif" alt="XpressEngine" class="iePngFix" /><!--@else-->
<img src="{$layout_info->top_logo}" alt="logo" border="0" class="iePngFix" /><!--@end--></a></div>
</div><!--@end--><!-- /end topimage -->
<div id="menuLine" style="width:{$homeBody_width}px;">
<table class="tableM" border="0" cellspacing="0" cellpadding="0"><tr>
<menuVr_split">!--@if($layout_info->menuVr_split == 'Y')-->
<td class="td1" > </td>
<td class="td2" >
<div id="language">
<!-- class="language" | class="language open" -->
<button type="button" class="sLanguage" title="{$lang->sl_show_lang}" onclick="jQuery('#language').toggleClass('open'); return false;">
<span> </span></button>
<em class="{$lang_type}"><span>{$lang_supported[$lang_type]}</span></em>
<ul class="languageList"><!--@foreach($lang_supported as $key => $val)--><!--@if($key!= $lang_type)-->
<li class="{$key}"><button type="button" onclick="doChangeLangType('{$key}');return false;">
<span>{$val}</span></button></li><!--@end--><!--@end--></ul></div>
<div id="access">
<!--@if($is_logged)-->
<li class="logout"><a href="{getUrl('act','dispMemberLogout')}"><span>LOGOUT</span></a></li>
<li class="profile"><button type="button" onclick="jQuery('#memberProfile').toggleClass('active');"><span>Profile</span></button>
<!-- memberProfile -->
<div id="memberProfile" class="memberProfile">
<!-- class="memberProfile" | class="memberProfile active" -->
<button type="button" class="close" onclick="jQuery('#memberProfile').toggleClass('active');" accesskey="X"><span>Close profile layer</span></button>
<h2 class="authorName">{$logged_info->nick_name}</h2>
<ul> {@ $oPointModel = &getModel('point'); $point = $oPointModel->getPoint($logged_info->member_srl);
$oModuleModel = &getModel('module'); $config = $oModuleModel->getModuleConfig('point');
$level = $oPointModel->getLevel($point, $config->level_step); }
<li class="point">{$lang->sl_point} : {$point} p </li>
<menu_list">!--@foreach($logged_info->menu_list as $key => $val)-->
<li><a href="{getUrl('act',$key,'member_srl','')}">{Context::getLang($val)}</a></li><!--@end-->
<is_admin">!--@if($logged_info->is_admin == 'Y')-->
<li class="admin"><a href="{getUrl(','module','admin')}" onclick="window.open(this.href); return false;">{$lang->sl_management}</a></li><!--@end-->
</ul>
<div id="latestLogin" class="latestLogin">{$lang->last_login} :<br /> {zDate($logged_info->last_login, "Y-m-d(H:i)")}</div>
</div><!-- /end memberProfile -->
</li><!--@else-->
<li class="login">
<button type="button" title="{$lang->sl_show_login}" onclick="jQuery('#popupLog').css('display','block');" accesskey="L"><span>LOGIN</span></button>
</li>
<li class="register"><a href="{getUrl('act','dispMemberSignUpForm')}" title="{$lang->sl_show_join}" ><span>Register</span></a></li>
<!--@end-->
</div><!-- /end access -->
<form action="{getUrl()}" method="post" id="search">
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="IS" />
<input type="hidden" name="search_target" value="title_content" />
<fieldset><legend>{$lang->cmd_search}</legend>
<input name="is_keyword" type="text" title="{$lang->sl_show_search}" class="inputText" accesskey="S" />
<input name="" type="image" src="images/buttons/buttonSearch.gif" alt="Search" class="inputSearch" />
</fieldset></form></td>
<td class="td3" > </td>
<{@$midx++;}<!--@end--><!--@end--></div>
<!-- fixed sub Location -->
<div id="subLocation">
<span><a href="{$index_url}" title="HOME">HOME</a></span>
<!--@if(!$menu_1st && !$menu_2nd && !$menu_3th)-->
<!--@if($top_menuon)--> > <a href="{$top_menuon['href']}" title="{$top_menuon['link']}">{$top_menuon['link']}</a><!--@end-->
<!--@if($bottom_menuon)--> > <a href="{$bottom_menuon['href']}" title="{$bottom_menuon['link']}">{$bottom_menuon['link']}</a><  ">!--@if($logPopup->enable_openid=='Y')-->
<input name="open_id" type="checkbox" id="open_id" value="Y" class="pinputCheck" onclick="document.getElementById('logFace').className='logFace loginTypeB'; return false;" />
<label for="open_id">OpenID</label>
<!--@end--></p>
</fieldset>
</form>
<enable_openid=='Y'">!--@if($logPopup->enable_openid=='Y')-->
<form action="./" method="post" class="typeB" id="openidLogin" onsubmit="return procFilter(this, openid_login)">
<fieldset><legend>OpenID Login</legend>
<div class="plogimg"> </div>
<div class="pidpw {$lang_type}">
<input name="openid" type="text" title="{$lang->sl_show_id}" onfocus="this.className='opidIn';" onblur="if(!this.value) this.className='opidOut'" class="opidOut" />
</div> <span class="loginButton"><input name="" type="submit" value="{$lang->cmd_login}" /></span>
<p class="pkeep">
<input name="open_id" type="checkbox" id="open_id_2" value="Y" class="pinputCheck" onclick="document.getElementById('logFace').className='logFace loginTypeA';" />
<label for="open_id_2">OpenID</label></p>
</fieldset>
</form><!--@end-->
<ul class="logMenu">
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
<li class="find"><a href="{getUrl('act','dispMemberFindAccount')}">{$lang->cmd_find_member_account}</a></li>
<li class="find"><a href="{getUrl('act','dispMemberResendAuthMail')}">{$lang->cmd_resend_auth_mail}</a></li>
</ul>
</div><!--@end--><!-- /end popupLog -->
</div><!-- /end header -->
<!-- 좌측컬럼 서브메뉴 --><left_menu">!--@if($layout_info->left_menu == 'Y')--> <div id="address">
<layout_type">!--@if($layout_info->layout_type == 'two')-->
<conhead_type">!--@if($layout_info->conhead_type == 'on')-->
<div id="conhead" style="width:{$homeBody_width}px;">
<content_header)-->
<input name="use_open_id" type="checkbox" id="use_open_id" value="Y" class="inputCheck" onclick="document.getElementById('loginFace').className='loginFace loginTypeB'; return false;" />
<label for="use_open_id">OpenID</label>
<!--@end--></p>
</fieldset>
</form>
<enable_openid=='Y'">!--@if($logDefault->enable_openid=='Y')-->
<form action="./" method="post" class="typeB" id="openidLogin" onsubmit="return procFilter(this, openid_login)">
<fieldset><legend>OpenID Login</legend>
<div class="idpw {$lang_type}">
<p>{$lang->openid}</p>
<input name="openid" type="text" title="{$lang->sl_show_id}" onfocus="this.className='opidIn';" onblur="if(!this.value) this.className='opidOut'" class="opidOut" />
<input name="login" type="image" src="./images/buttons/buttonLogind.gif" alt="login" class="btnlogin" />
</div>
<p class="keep">
<input name="use_open_id" type="checkbox" id="use_open_id_2" value="Y" class="inputCheck" onclick="document.getElementById('loginFace').className='loginFace loginTypeA';" />
<label for="use_open_id_2">OpenID</label></p>
</fieldset>
</form>
<!--@end-->
<ul class="logMenu">
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
<li class="find"><a href="{getUrl('act','dispMemberFindAccount')}">{$lang->cmd_find_member_account}</a></li>
<li class="find"><a href="{getUrl('act','dispMemberResendAuthMail')}">{$lang->cmd_resend_auth_mail}</a></li>
</ul>
</div><!--@end-->
<!--@if($is_logged)--><!-- default memberProfile -->
<div id="loggedFace" class="loggedFace">
<div class="authorName">{$logged_info->nick_name}</div>
<div class="btnlogout"><a href="{getUrl('act','dispMemberLogout')}">
<img src="./images/buttons/buttonLogoutd.gif" alt="{$lang->cmd_logout}" width="47" height="18" /></a></div>
<ul> {@ $oPointModel = &getModel('point'); $point = $oPointModel->getPoint($logged_info->member_srl); $oModuleModel = &getModel('module'); $config = $oModuleModel->getModuleConfig('point'); $level = $oPointModel->getLevel($point, $config->level_step); }
<li class="point">{$lang->sl_point} : {$point} p </li>
<menu_list">!--@foreach($logged_info->menu_list as $key => $val)-->
<li class="list"><a href="{getUrl('act',$key,'member_srl','')}">{Context::getLang($val)}</a></li><!--@end-->
<is_admin">!--@if($logged_info->is_admin == 'Y')-->
<li class="admin"><a href="{getUrl(','module','admin')}" onclick="window.open(this.href); return false;">{$lang->sl_management}</a></li><!--@end-->
</ul>
<div class="latestLogin">{$lang->last_login} : {zDate($logged_info->last_login, "m.d. H:i")}</div>
</div><!--@end--><!-- /end default memberProfile -->
<div class="logDefaultBottombg"> </div>
</div><!--@else--> <!--@end--><!-- /end logDefault -->
<div id="leftSubm">
<div class="submTitle">
<!--@if(!$menu_1st)-->
<!--@if($top_menuon)--><a href="{$top_menuon['href']}" title="{$top_menuon['link']}">{$top_menuon['link']}</a><!--@end-->
<!--@if($bottom_menuon)--><a href="{$bottom_menuon['href']}" title="{$bottom_menuon['link']}">{$bottom_menuon['link']}</a><
<div id="copyright"><a href="http://www.goodpr.me" target="_blank" onfocus="this.blur();">Layout Design by SunooTC</a></div>
<
<div id="toplink"><a href="#" title="top" onfocus="this.blur();"><img src="./images/buttons/buttonTop.gif" alt="top" /></a></div>
<table border="0" cellspacing="0" cellpadding="0"><tr>
<td valign="middle"><div class="bottom_logo">
<a href="{$index_url}"><footer_logo">!--@if(!$layout_info->footer_logo)-->
<img src="./images/bgicons/xeLogo_sunoo.gif" alt="Home" border="0" class="iePngFix" /><!--@else-->
<img src="{$layout_info->footer_logo}" alt="Home" border="0" class="iePngFix" /><!--@end--></a></div></td>
<td valign="middle"><div class="bottom_text">{$layout_info->bottom_text}</div></td>
</tr></table>
</div>
</div><!-- /end footer -->
</div><!-- /end bodyWrap -->
<!-- dropdown sub_menu -->
{@ $dmidx = 1;}
<list">!--@foreach($main_menu->list as $key => $val)--><!--@if($val['list'])-->
<div id="dropmenu{$dmidx}" class="dmSubMenu">
<ul class="{$layout_info->colorset}"><!--@foreach($val['list'] as $k => $v)--><!--@if($v['text'])-->
<li><a href="{$v['href']}" <onclick="window.open(this.href);return">!--@if($v['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>
{$v['text']}</a></li><!--@end--><!--@end--></ul>
</div><{@$dmidx++;}<script ">!--@end-->{@$dmidx++;}<!--@end--><script type="text/javascript">cssdropdown.startchrome("mainMenu")</script></script>
css에서 없으면 만들어 넣어야 합니다.