css 가운데 정렬 채택완료
http://dwlogis.maru.net/">http://dwlogis.maru.net/
위 사이트 타이틀 이미지 아래에 보면 "Business" 부분이 있는데 이부분을 가운데 정렬로 하고 싶은데요
아래와 같은 css에서 어느 부분을 수정해야 할까요..
/* 메인 콘텐츠 타이틀 */
.hte-title {position:relative;margin:0 0 0 0px}
.hte-title:before {content:" ";width:100%;position:absolute;height:1px;background:#ddd;display:block;top:50%;z-index:1}
.hte-title span, .hte-title span a {display:inline-block;background:#fff;padding:0 10px;z-index:2;color:#bbb;position:relative;margin-left:37%;font-size:22px;;font-weight:600}
.hte-title.hte-title-gray span, .hte-title.hte-title-gray span a {background:#F2F2F2;color:#9a9a9a}
.hte-title span a {margin-left:0;padding:0}
.hte-title span a:hover {color:#6a6a6a}
@media (min-width:992px){
.hte-title {margin-bottom:40px}
}
답변 1개
</p><p><span style="color: rgb(34, 34, 34); font-family: Consolas, "Lucida Console", "Courier New", monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">.hte-title{text-align:center}</span> </p><p><span style="color: rgb(34, 34, 34); font-family: Consolas, "Lucida Console", "Courier New", monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">.hte-title span{margin-left:auto;}</span><span style="color: rgb(34, 34, 34); font-family: Consolas, "Lucida Console", "Courier New", monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"> </span></p><p>
이렇게 하시면 될 듯합니다.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인