가운데 정렬이 안되고 계속 왼쪽 정렬이 되내여.. 채택완료
<style>
.at-container1 {max-width:800px;text-align:center;}
.no-responsive .wrapper, .no-responsive .at-container-wide { min-width:800px; }
.no-responsive .boxed.wrapper, .no-responsive .at-container1 { width:800px; }
.widget-index1 { overflow:hidden;text-align:center; }
.widget-index1 .div-title-underbar { margin-bottom:15px; }
.widget-index1 .div-title-underbar span { padding-bottom:4px; }
.widget-index1 .div-title-underbar span b { font-weight:500; }
.widget-index1 h2.div-title-underbar { font-size:22px; text-align:center; margin-bottom:15px; /* 위젯 타이틀 */ }
.widget-index1 h2 .div-title-underbar-bold { font-weight:bold; padding-bottom:4px; border-bottom-width:4px; margin-bottom:-3px; }
.widget-index1 .widget-box { margin-bottom:40px; }
.widget-index1 .widget-img img { display:block; max-width:100%; /* 배너 이미지 */ }
@media all and (max-width:767px) {
.responsive .widget-index1 .widget-box { margin-bottom:30px; }
}
</style>
<div class="at-container1 widget-index1" style="text-align:center;">
<?php echo apms_widget('basic-title', $pure_ca_id.'-wt1', 'height=800px', 'auto=0'); //타이틀 ?>
</div>
위 위젯 <?php echo apms_widget('basic-title', $pure_ca_id.'-wt1', 'height=800px', 'auto=0'); //타이틀 ?>이 가운데 정렬이 안되고
계속 왼쪽 정렬이 되내여..
강제로 가운데 정렬 방법이 없을까여?
답변 4개
링크라도 첨부하셔야 전체적인 구조를 보면서 답변을 드리기 수월하겠죠.
다른곳에 선언된 중복되는 스타일로 가운데정렬들을 막을수도 있기때문에요.
http://webdir.tistory.com/31">CSS 가운데(중앙) 정렬 참고하세요.
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
크롬 요소검사로 해당 부분에 현재 적용되고 있는 css를 확인하고 수정해보세요.
css 수정시 이렇게 하시면 편합니다.
만약 의도하신 css말고 다른 css가 중복돼서 먹고 있다면 해당 부분에 !important 주시면 강제 적용 됩니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인