답변 2개 / 댓글 2개
채택된 답변
+20 포인트
그누보드 원본이라면... 'css/default.css'
Copy
를 아래와 같은 방식으로 바꾸고....gnb_1da {display:inline-block;padding:0 40px 0 10px;height:35px;background:url('../img/gnb_bg00.gif') center right no-repeat;font-weight:bold;line-height:2.95em;text-decoration:none}.gnb_1da:focus, .gnb_1da:hover {background:url('../img/gnb_bg00.gif') #333 center right no-repeat;text-decoration:none}
Copy
width 값을 사이트에 맞게 수정해주시면 됩니다.
.gnb_1da {display:inline-block;padding:0 40px 0 10px;width:130px;height:35px;font-weight:bold;line-height:2.95em;text-decoration:none}.gnb_1da:focus, .gnb_1da:hover {background:#333;text-decoration:none}
#nav {
- height: 51px;
- background: transparenturl('../../images/nav_bg.png') left top repeat-x;
}
이렇게 되어 있네요
width를 100%로 주고 배경색을 채우거나 이미지 반복하면 되요
답변을 작성하려면 로그인이 필요합니다.