테스트 사이트 - 개발 중인 베타 버전입니다

css관련 질문 드려요.. 채택완료

yabuki27 11년 전 조회 8,068

http://jbattachment.openhaja.com/compactor.php" target="_blank">http://jbattachment.openhaja.com/compactor.php

위에 사이트의 메뉴중에 products>screenbucket에 마우스를 올리면

3step메뉴가 나오는데요..그 3step메뉴중에 제목이 좀 긴거에 마우스를 올리면

글자가 잘리거든요..

아마도 마우스 오버시 생기는 파랑색바의 길이가 짧아서 그런거 같은데요..

아래의 css에서 어떤걸 수정해야 할까요?

--------------------------------------------------------------------------

/* ================================================================ This copyright notice must be kept untouched in the stylesheet at all times.

The original version of this stylesheet and the associated (x)html is available at http://www.stunicholls.com/menu/pro_drop_1.html" target="_blank">http://www.stunicholls.com/menu/pro_drop_1.html Copyright (c) 2005-2007 Stu Nicholls. All rights reserved. This stylesheet and the associated (x)html may be modified in any way to fit your requirements. =================================================================== */

.preload1 {background: url(blank_over.gif);} .preload2 {background: url(blank_overa.gif);}

#nav {padding:0; margin:0; list-style:none; height:38px; position:relative; z-index:980; font-family:arial, verdana, sans-serif;} #nav li.top {display:block; float:left;} #nav li a.top_link {display:block; float:left; height:38px; line-height:42px; color:#02316d; text-decoration:none; font-size:12px; font-weight:bold; padding:0 24 0 24px; cursor:pointer;background: url(blank.gif);} #nav li a.top_link span {float:left; display:block; padding:0 43px 0 43px; height:60px;background:url(blank.gif) right top;} #nav li a.top_link span.down {float:left; display:block; padding:0 43px 0 43px; height:60px; background:url(blanka.gif) no-repeat right top;} #nav li a.top_link:hover {color:#9e0b0f; background: url(blank_over.gif) no-repeat;} #nav li a.top_link:hover span {background:url(blank_over.gif) no-repeat right top;} #nav li a.top_link:hover span.down {background:url(blank_overa.gif) no-repeat right top;}

#nav li:hover > a.top_link {color:#9e0b0f; background: url(blank_over.gif) no-repeat;} #nav li:hover > a.top_link span {background:url(blank_over.gif) no-repeat right top;} #nav li:hover > a.top_link span.down {background:url(blank_overa.gif) no-repeat right top;}

/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

/* keep the 'next' level invisible by placing it off screen. */ #nav ul, #nav li:hover ul ul, #nav li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover ul.sub {left:0; top:31px; background: #fff; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:150px; height:auto; z-index:300;} #nav li:hover ul.sub li {display:block; height:20px; position:relative; float:left; width:90px; font-weight:normal;} #nav li:hover ul.sub li a {display:block; font-size:12px; height:20px; width:90px; line-height:20px; text-indent:5px; color:#000; text-decoration:none;} #nav li ul.sub li a.fly {background:#fff url(arrow.gif) 85px 7px no-repeat;} #nav li:hover ul.sub li a:hover {background:#3a93d2; color:#fff;} #nav li:hover ul.sub li a.fly:hover {background:#3a93d2 url(arrow_over.gif) 115px 7px no-repeat; color:#fff;}

#nav li:hover ul li:hover > a.fly {background:#3a93d2 url(arrow_over.gif) 115px 7px no-repeat; color:#fff;}

#nav li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul {left:90px; top:-4px; background: #fff; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:110px; z-index:400; height:auto;}

댓글을 작성하려면 로그인이 필요합니다.

답변 3개

채택된 답변
+20 포인트
11년 전
#nav li:hover ul.sub li a { width: 109px; }
위 선택자에서 너비를 조정하세요.
로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

7년 전

많은 도움이 되었습니다. 감사합니다.

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

y
11년 전
감사합니다..^^
로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인