메뉴 수정하고있는데요..
전체 넓이를 900px; 으로 주니까 메뉴들이 수직 정렬이 되어버리네요..
원본은 메뉴개별로 넓이가 설정되어있어서. 홈피에적용하긴무리고..
l ul { list-style-type:none; }li { display:inline; } 주면 넓이때문에 안되구..
플롯으로도 안되네요..
html body ul#nav ul
,html body ul#nav ul li {
width:200px;
}
html body ul#nav ul ul {
margin:0 0 0 200px;
}
,html body ul#nav ul li {
width:200px;
}
html body ul#nav ul ul {
margin:0 0 0 200px;
}
/* Theming the menu */
ul#nav {
float:left;
font-size:90%;
float:left;
font-size:90%;
}
ul#nav ul {
background:#222;
}
background:#222;
}
ul#nav li a {
float:left;
width:900px;
padding:20px 30px;
font-family:"Lucida Sans","Century Gothic","Franklin Gothic Book","Franklin Gothic",helvetica,arial,verdana,sans;
text-decoration:none;
background:#222;
color:#fff;
}
float:left;
width:900px;
padding:20px 30px;
font-family:"Lucida Sans","Century Gothic","Franklin Gothic Book","Franklin Gothic",helvetica,arial,verdana,sans;
text-decoration:none;
background:#222;
color:#fff;
}
ul#nav ul li a {
padding:10px 15px;
float:left;
}
padding:10px 15px;
float:left;
}
ul#nav li a:hover
,ul#nav li a:focus {
color:#aeff5e;
}
,ul#nav li a:focus {
color:#aeff5e;
}
html body ul.sf-menu ul
,html body ul.sf-menu ul li {
width:180px;
}
html body ul.sf-menu ul ul {
margin:0 0 0 180px;
}
,html body ul.sf-menu ul li {
width:180px;
}
html body ul.sf-menu ul ul {
margin:0 0 0 180px;
}
/* Framework for proper showing/hiding/positioning */
/* DO NOT EDIT FROM HERE */
ul.sf-menu
,ul.sf-menu * {
margin:0;
padding:0;
}
/* DO NOT EDIT FROM HERE */
ul.sf-menu
,ul.sf-menu * {
margin:0;
padding:0;
}
ul.sf-menu {
display:block;
position:relative;
}
ul.sf-menu li {
display:block;
list-style:none;
float:left;
position:relative;
}
ul.sf-menu li:hover {
visibility:inherit; /* fixes IE7 'sticky bug' */
}
ul.sf-menu a {
display:block;
position:relative;
}
ul.sf-menu ul {
position:absolute;
left:0;
width:150px;
top:auto;
left:-999999px;
}
ul.sf-menu ul a {
zoom:1; /* IE6/7 fix */
}
ul.sf-menu ul li {
float:left; /* Must always be floated otherwise there will be a rogue 1px margin-bottom in IE6/7 */
width:150px;
}
ul.sf-menu ul ul {
top:0;
margin:0 0 0 150px
}
display:block;
position:relative;
}
ul.sf-menu li {
display:block;
list-style:none;
float:left;
position:relative;
}
ul.sf-menu li:hover {
visibility:inherit; /* fixes IE7 'sticky bug' */
}
ul.sf-menu a {
display:block;
position:relative;
}
ul.sf-menu ul {
position:absolute;
left:0;
width:150px;
top:auto;
left:-999999px;
}
ul.sf-menu ul a {
zoom:1; /* IE6/7 fix */
}
ul.sf-menu ul li {
float:left; /* Must always be floated otherwise there will be a rogue 1px margin-bottom in IE6/7 */
width:150px;
}
ul.sf-menu ul ul {
top:0;
margin:0 0 0 150px
}
ul.sf-menu li:hover ul,ul.sf-menu li:focus ul,ul.sf-menu li.sf-hover ul { /*first level*/
left:auto;
}
ul.sf-menu li:hover ul ul,ul.sf-menu li:focus ul ul,ul.sf-menu li.sf-hover ul ul {
left:-999999px;
}
ul.sf-menu ul li:hover ul,ul.sf-menu ul li:focus ul,ul.sf-menu ul li.sf-hover ul {/*second level*/
left:auto;
}
ul.sf-menu ul li:hover ul ul,ul.sf-menu ul li:focus ul ul,ul.sf-menu ul li.sf-hover ul ul {
left:-999999px;
}
ul.sf-menu ul ul li:hover ul,ul.sf-menu ul ul li:focus ul,ul.sf-menu ul ul li.sf-hover ul {/*third level*/
left:auto;
}
ul.sf-menu ul ul li:hover ul ul,ul.sf-menu ul ul li:focus ul ul,ul.sf-menu ul ul li.sf-hover ul ul {
left:-999999px;
}
ul.sf-menu ul ul ul li:hover ul,ul.sf-menu ul ul ul li:focus ul,ul.sf-menu ul ul ul li.sf-hover ul {/*fourth level*/
left:auto;
}
ul.sf-menu ul ul ul li:hover ul ul,ul.sf-menu ul ul ul li:focus ul ul,ul.sf-menu ul ul ul li.sf-hover ul ul {
left:-999999px;
}
left:auto;
}
ul.sf-menu li:hover ul ul,ul.sf-menu li:focus ul ul,ul.sf-menu li.sf-hover ul ul {
left:-999999px;
}
ul.sf-menu ul li:hover ul,ul.sf-menu ul li:focus ul,ul.sf-menu ul li.sf-hover ul {/*second level*/
left:auto;
}
ul.sf-menu ul li:hover ul ul,ul.sf-menu ul li:focus ul ul,ul.sf-menu ul li.sf-hover ul ul {
left:-999999px;
}
ul.sf-menu ul ul li:hover ul,ul.sf-menu ul ul li:focus ul,ul.sf-menu ul ul li.sf-hover ul {/*third level*/
left:auto;
}
ul.sf-menu ul ul li:hover ul ul,ul.sf-menu ul ul li:focus ul ul,ul.sf-menu ul ul li.sf-hover ul ul {
left:-999999px;
}
ul.sf-menu ul ul ul li:hover ul,ul.sf-menu ul ul ul li:focus ul,ul.sf-menu ul ul ul li.sf-hover ul {/*fourth level*/
left:auto;
}
ul.sf-menu ul ul ul li:hover ul ul,ul.sf-menu ul ul ul li:focus ul ul,ul.sf-menu ul ul ul li.sf-hover ul ul {
left:-999999px;
}
맨위에 감싸서 넓이를줘도 꿈쩍도안해서..여기저기넣다가 늘어나긴 늘어났는데..
메뉴가 링크보시듯이.. 수직정렬되어있는데..
고칠 방법 없을까요..?
댓글 3개
13년 전
a 의 width를 900으로 주셨네요. ^^;
음.. 원래 코드 http://geeksnowdigital.com/sites/all/modules/SooperFish02/example-advanced.html 에서 검은 부분을 화면 끝까지 채우고 싶으신건가요?
그렇다면, 위 원래 코드에서
ul.nav 의 border 와 border-width를 빼시고,
width: 100%; background-color: #222;
를 넣으시면 될것 같습니다. ^^
음.. 원래 코드 http://geeksnowdigital.com/sites/all/modules/SooperFish02/example-advanced.html 에서 검은 부분을 화면 끝까지 채우고 싶으신건가요?
그렇다면, 위 원래 코드에서
ul.nav 의 border 와 border-width를 빼시고,
width: 100%; background-color: #222;
를 넣으시면 될것 같습니다. ^^
13년 전
감사합니다.. 생각지도못한 ..
13년 전
음
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4630 | 13년 전 | 1189 | ||
| 4629 | 13년 전 | 4362 | ||
| 4628 | 13년 전 | 766 | ||
| 4627 |
|
13년 전 | 1752 | |
| 4626 | 13년 전 | 810 | ||
| 4625 |
마릴릴모니
|
13년 전 | 723 | |
| 4624 | 13년 전 | 1632 | ||
| 4623 |
SIR정회원
|
13년 전 | 602 | |
| 4622 |
rakoos
|
13년 전 | 1571 | |
| 4621 | 13년 전 | 674 | ||
| 4620 | 13년 전 | 1458 | ||
| 4619 | 13년 전 | 982 | ||
| 4618 | 13년 전 | 4031 | ||
| 4617 | 13년 전 | 2030 | ||
| 4616 | 13년 전 | 852 | ||
| 4615 | 13년 전 | 675 | ||
| 4614 | 13년 전 | 1244 | ||
| 4613 | 13년 전 | 878 | ||
| 4612 |
rakoos
|
13년 전 | 1019 | |
| 4611 |
|
13년 전 | 2107 | |
| 4610 | 13년 전 | 762 | ||
| 4609 | 13년 전 | 2817 | ||
| 4608 | 13년 전 | 2799 | ||
| 4607 | 13년 전 | 1072 | ||
| 4606 | 13년 전 | 771 | ||
| 4605 | 13년 전 | 2316 | ||
| 4604 | 13년 전 | 889 | ||
| 4603 | 13년 전 | 1141 | ||
| 4602 |
한번잘해보자
|
13년 전 | 675 | |
| 4601 | 13년 전 | 1802 | ||
| 4600 |
|
13년 전 | 1087 | |
| 4599 |
크라운엠버서더
|
13년 전 | 1151 | |
| 4598 | 13년 전 | 1500 | ||
| 4597 | 13년 전 | 591 | ||
| 4596 | 13년 전 | 3656 | ||
| 4595 |
|
13년 전 | 902 | |
| 4594 | 13년 전 | 1782 | ||
| 4593 | 13년 전 | 1277 | ||
| 4592 | 13년 전 | 653 | ||
| 4591 | 13년 전 | 4643 | ||
| 4590 | 13년 전 | 512 | ||
| 4589 | 13년 전 | 2631 | ||
| 4588 |
|
13년 전 | 988 | |
| 4587 | 13년 전 | 645 | ||
| 4586 |
JavaDD
|
13년 전 | 1012 | |
| 4585 | 13년 전 | 7777 | ||
| 4584 | 13년 전 | 971 | ||
| 4583 |
PHPㅡASP프로그래머
|
13년 전 | 2059 | |
| 4582 |
PHPㅡASP프로그래머
|
13년 전 | 1497 | |
| 4581 |
PHPㅡASP프로그래머
|
13년 전 | 1021 | |
| 4580 | 13년 전 | 4084 | ||
| 4579 |
|
13년 전 | 688 | |
| 4578 | 13년 전 | 1187 | ||
| 4577 | 13년 전 | 810 | ||
| 4576 |
Kanzi
|
13년 전 | 863 | |
| 4575 |
|
13년 전 | 1545 | |
| 4574 | 13년 전 | 2341 | ||
| 4573 |
달빛소나타
|
13년 전 | 875 | |
| 4572 | 13년 전 | 994 | ||
| 4571 | 13년 전 | 938 | ||
| 4570 |
|
13년 전 | 1305 | |
| 4569 |
한번잘해보자
|
13년 전 | 552 | |
| 4568 |
Raizond
|
13년 전 | 1018 | |
| 4567 |
Raizond
|
13년 전 | 522 | |
| 4566 |
Revenge
|
13년 전 | 940 | |
| 4565 |
|
13년 전 | 691 | |
| 4564 |
|
13년 전 | 1136 | |
| 4563 | 13년 전 | 1559 | ||
| 4562 | 13년 전 | 1207 | ||
| 4561 | 13년 전 | 9391 | ||
| 4560 | 13년 전 | 1770 | ||
| 4559 | 13년 전 | 3344 | ||
| 4558 | 13년 전 | 468 | ||
| 4557 | 13년 전 | 1446 | ||
| 4556 | 13년 전 | 699 | ||
| 4555 | 13년 전 | 547 | ||
| 4554 | 13년 전 | 541 | ||
| 4553 |
|
13년 전 | 4306 | |
| 4552 | 13년 전 | 1508 | ||
| 4551 | 13년 전 | 1993 | ||
| 4550 | 13년 전 | 680 | ||
| 4549 | 13년 전 | 1036 | ||
| 4548 | 13년 전 | 1568 | ||
| 4547 | 13년 전 | 553 | ||
| 4546 | 13년 전 | 1615 | ||
| 4545 | 13년 전 | 1331 | ||
| 4544 | 13년 전 | 3021 | ||
| 4543 | 13년 전 | 1011 | ||
| 4542 | 13년 전 | 2262 | ||
| 4541 | 13년 전 | 1136 | ||
| 4540 |
|
13년 전 | 1058 | |
| 4539 | 13년 전 | 1154 | ||
| 4538 | 13년 전 | 1584 | ||
| 4537 | 13년 전 | 1172 | ||
| 4536 | 13년 전 | 546 | ||
| 4535 |
|
13년 전 | 820 | |
| 4534 |
|
13년 전 | 979 | |
| 4533 | 13년 전 | 644 | ||
| 4532 |
soing
|
13년 전 | 7369 | |
| 4531 |
|
13년 전 | 6392 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기