메뉴 테두리를 둥글게 하고싶은데 안되네요...
.ddsmoothmenu{
}
.ddsmoothmenu ul{
z-index:100;
margin: 0;
padding: 0;
list-style-type: none;
}
z-index:100;
margin: 0;
padding: 0;
list-style-type: none;
}
/*Top level list items*/
.ddsmoothmenu ul li{
position: relative;
display: inline;
float: left;
.ddsmoothmenu ul li{
position: relative;
display: inline;
float: left;
}
/*Top level menu link items style*/
.ddsmoothmenu ul li a {
display: block;
position: relative;
width: 100px;
padding: 10px 0 10px;
margin: 0 1px 0 0;
font-size: 14px;
color: #999;
text-align: center;
text-decoration: none;
font-weight: 400;
outline: none;
border: none;
.ddsmoothmenu ul li a {
display: block;
position: relative;
width: 100px;
padding: 10px 0 10px;
margin: 0 1px 0 0;
font-size: 14px;
color: #999;
text-align: center;
text-decoration: none;
font-weight: 400;
outline: none;
border: none;
}
* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
display: inline-block;
}
.ddsmoothmenu ul li a.selected, .ddsmoothmenu ul li a:hover { /*CSS class that's dynamically added to the currently active menu items' LI A element*/
color: #fff;
background: #1f1f1f;
border-bottom: 5px solid #d2f476;
color: #fff;
background: #1f1f1f;
border-bottom: 5px solid #d2f476;
}
/*1st sub level menu*/
.ddsmoothmenu ul li ul{
position: absolute;
left: 0;
margin-top: 10px;
display: none; /*collapse all sub menus to begin with*/
visibility: hidden;
background: #333;
}
/*1st sub level menu*/
.ddsmoothmenu ul li ul{
position: absolute;
left: 0;
margin-top: 10px;
display: none; /*collapse all sub menus to begin with*/
visibility: hidden;
background: #333;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.ddsmoothmenu ul li ul li{
display: list-item;
float: none;
}
.ddsmoothmenu ul li ul li{
display: list-item;
float: none;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.ddsmoothmenu ul li ul li ul{
top: 0;
}
.ddsmoothmenu ul li ul li ul{
top: 0;
}
/* Sub level menu links style */
.ddsmoothmenu ul li ul li a{
font-weight: 500;
width: 120px; /*width of sub menus*/
padding: 0 10px;
margin: 0;
line-height: 24px;
height: 24px;
font-size: 12px;
border-top-width: 0;
text-align: left;
background: none;
}
.ddsmoothmenu ul li ul li a{
font-weight: 500;
width: 120px; /*width of sub menus*/
padding: 0 10px;
margin: 0;
line-height: 24px;
height: 24px;
font-size: 12px;
border-top-width: 0;
text-align: left;
background: none;
}
.ddsmoothmenu ul li ul li a.selected, .ddsmoothmenu ul li ul li a:hover {
color: #fff;
background: #a5c451;
border-bottom: 2px solid #d2f476;
}
color: #fff;
background: #a5c451;
border-bottom: 2px solid #d2f476;
}
/* Holly Hack for IE \*/
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
/* ######### CSS classes applied to down and right arrow images ######### */
.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}
position: absolute;
top: 12px;
right: 7px;
}
.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}
position: absolute;
top: 6px;
right: 5px;
}
/* ######### CSS for shadow added to sub menus ######### */
.ddshadow{
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: #fff;
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: #fff;
}
.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.5;
}
opacity: 0.5;
}
/* menu */
css 코드입니다.
css에 대해서는 무지한지라 이거 어찌해야 할지를 모르겠네요
.ddsmoothmenu ul li a.selected, .ddsmoothmenu ul li a:hover { /*CSS class that's dynamically added to the currently active menu items' LI A element*/
color: #fff;
background: #1f1f1f;
border-bottom: 5px solid #d2f476;
color: #fff;
background: #1f1f1f;
border-bottom: 5px solid #d2f476;
}
이부분에 border-radius:5px;를 넣으면 될것같은데 아무리 넣어봐도 마우스 오버시 테두리가 둥글게 되지가 않아요
도움좀 부탁드립니다.
문제의페이지 입니다.
댓글 2개
cshop
13년 전
.ddsmoothmenu ul li a.selected, .ddsmoothmenu ul li a:hover { /*CSS class that's dynamically added to the currently active menu items' LI A element*/
color: #fff;
background: #1f1f1f;
border-bottom: 5px solid #d2f476;
border-radius:5px;
}
http://mypcas.com/test/css/ddsmoothmenu.css
44번째 줄
잘 되는데요? 혹시 IE 에서 안된다고 하시는건지... IE 는 원래 안되요... -..-;; IE 는 븅신이라서..
IE 에서 border-radius 넣으시려면. pie.htc 쓰세요. .htc 가 싫으시면 IE 에 border-radius 적용되게 해주는 다른 .js 도 많아요.
http://sir.co.kr/bbs/board.php?bo_table=pg_html&wr_id=12840
color: #fff;
background: #1f1f1f;
border-bottom: 5px solid #d2f476;
border-radius:5px;
}
http://mypcas.com/test/css/ddsmoothmenu.css
44번째 줄
잘 되는데요? 혹시 IE 에서 안된다고 하시는건지... IE 는 원래 안되요... -..-;; IE 는 븅신이라서..
IE 에서 border-radius 넣으시려면. pie.htc 쓰세요. .htc 가 싫으시면 IE 에 border-radius 적용되게 해주는 다른 .js 도 많아요.
http://sir.co.kr/bbs/board.php?bo_table=pg_html&wr_id=12840
13년 전
jquery 플로그인 사용하시면 ie에서도 잘 적용됩니다 ^^
http://www.malsup.com/jquery/corner/
http://www.malsup.com/jquery/corner/
게시글 목록
| 번호 | 제목 |
|---|---|
| 1617 | |
| 1612 | |
| 1608 | |
| 1597 |
HTML
말씀듣고..
10
|
| 1595 | |
| 1592 |
HTML
웹표준....
2
|
| 1586 | |
| 1580 | |
| 1573 | |
| 1572 | |
| 1571 | |
| 1566 | |
| 1565 | |
| 1557 |
HTML
CSS 속성 적용의 우선 순위
7
|
| 1550 |
HTML
ㅋㅋㅋ죄송합니다;;;
6
|
| 1549 |
HTML
연습 TABLE vs DIV
|
| 1548 | |
| 1546 | |
| 1544 | |
| 1539 | |
| 1533 | |
| 1532 | |
| 1527 | |
| 1523 | |
| 1522 | |
| 1521 |
HTML
날나리 강좌. ㅋ HTML DTD
1
|
| 1520 | |
| 1519 | |
| 1517 |
HTML
[css] 마진 병합
2
|
| 1516 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기