메뉴나 상단 이미지 사이즈폭 문의
본문
궁금해서 질문글 올립니다.
위 사이트에 보시면 메뉴가 화면전체에 꽉차 보이는데
저렇게 할려면 어디를 수정해야 되는지 점 알려주세요
메뉴가 아니더라도 상단 이미지를 모니터 화면에 꽉 차게 보이게 할려면 어떻게 해야 되는지 점 알려주세요
답변 2
그누보드 원본이라면... 'css/default.css'
.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}
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%로 주고 배경색을 채우거나 이미지 반복하면 되요
답변을 작성하시기 전에 로그인 해주세요.