cla1067
21 Sep 2010, 04:55 AM
Happy they finally added this feature, but anyways I am able to get it to work with everything on my site, but the navigation bar. I have tested the site in firefox and safari and everything works.
I am trying to make the corners at the bottom of the navigation bar round.
http://stupidwhitekid.com
#nav {
padding:0;
margin: 0 0 10px 0;
list-style:none;
height:33px;
background: url('./images/nav/0.png') repeat-x;
position:relative;
z-index:200;
font-family: arial, verdana, sans-serif;
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-border-bottom-left-radius: 10px;
-border-bottom-right-radius: 10px;
}
.preload1 {
background: url('./images/nav/0a.png');
}
.preload2 {
background: url('./images/nav/1a.png');
}
#nav {
padding:0;
margin: 0 0 10px 0;
list-style:none;
height:33px;
background: url('./images/nav/0.png') repeat-x;
position:relative;
z-index:200;
font-family: arial, verdana, sans-serif;
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-border-bottom-left-radius: 10px;
-border-bottom-right-radius: 10px;
}
#nav li.top1 {
display:block;
float: left;
margin-left:14px;
}
#nav li.top {
display:block;
float: left;
}
#nav li a.top_link {
display:block;
float: left;
height:33px;
line-height:31px;
color:#8FFFFD;
background: url('./images/nav/0.png');
text-decoration:none;
font-size:14px;
font-weight:bold;
padding:0 0 0 12px;
cursor:pointer;
}
#nav li a.top_link span {
display:block;
float: left;
padding:0 24px 0 12px;
height:33px;
background: url('./images/nav/0.png') right top no-repeat;
}
#nav li a.top_link span.down {
display:block;
float: left;
padding:0 24px 0 12px;
height:33px;
background: url('./images/nav/0a.png') no-repeat right top;
}
#nav li:hover a.top_link,
#nav a.top_link:hover {
color:#009FD9;
background: url('./images/nav/1.png') no-repeat;
}
#nav li:hover a.top_link span,
#nav a.top_link:hover span {
background: url('./images/nav/1.png') no-repeat right top;
}
#nav li:hover a.top_link span.down,
#nav a.top_link:hover span.down {
background: url('./images/nav/1a.png') no-repeat right top;
padding-bottom:3px;
}
#nav table {
border-collapse:collapse;
padding:0;
margin:0;
position:absolute;
left:0;
top:0;
}
#nav li:hover {
position:relative;
z-index:200;
}
#nav a:hover {
position:relative;
white-space:normal;
z-index:200;
}
#nav :hover ul.sub {
left:1px;
top:34px;
background-color: #000;
-moz-opacity:0.8;
-khtml-opacity: 0.8;
opacity: 0.8;
padding:3px;
border: 1px solid #FFF;
white-space:nowrap;
width:185px;
height:auto;
z-index:300;
font-weight:bold;
}
#nav :hover ul.sub li {
display:block;
float: left;
height:20px;
position:relative;
width:185px;
font-weight:bold;
}
#nav :hover ul.sub li a {
display:block;
font-size:11px;
height:18px;
width:183px;
line-height:18px;
text-indent:5px;
color:#F5F5F5;
text-decoration:none;
font-weight:bold;
}
#nav li ul.sub li a.fly {
background: url('./images/nav/arrow_over.png') 175px 6px no-repeat;
}
#nav :hover ul.sub li a:hover {
color:#F5F5F5;
background-color: #FFF;
border-color:#FFF;
font-weight:bold;
}
#nav :hover ul.sub li a.fly:hover {
background: #FFF url('./images/nav/arrow.png') 175px 6px no-repeat;
color:#F5F5F5;
}
#nav li b {
display:block;
font-family:Comic Sans MS,Sans-Serif;
font-size:12px;
height:18px;
width:183px;
line-height:18px;
margin-bottom:3px;
text-indent:6px;
color:#274F9E;
border-bottom:1px solid #D10800;
cursor:default;
}
#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul {
left:89px;
top:-4px;
padding:3px;
border:1px solid #000;
white-space:nowrap;
width:183px;
z-index:400;
height:auto;
}
#nav ul,
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul {
position:absolute;
left:-9999px;
top:-9999px;
width:0;
height:0;
margin:0;
padding:0;
list-style:none;
}
#nav li:hover li:hover > ul {
left: 183px; /* distance from right margin of main drop */
top: -4px;
background-color: #000;
padding: 3px;
border: 1px solid #FFF;
white-space: nowrap;
width: 185px; /* width of secondary drop */
z-index: 400;
height: auto;
}
#nav li:hover > ul ul {
position:absolute;
left:-9999px;
top:-9999px;
width:0;
height:0;
margin:0;
padding:0;
list-style:none;
}
#nav li:hover li:hover > a.fly {
background: #FFF url('./images/nav/arrow.png') 175px 6px no-repeat;
color:#F5F5F5;
font-weight: bold;
text-decoration:none;
}
#nav li:hover li:hover > li a.fly {
background: #FFF url('./images/nav/arrow.png') 175px 6px no-repeat;
color:#F5F5F5;
font-weight: bold;
text-decoration:none;
}
Thanks!
I am trying to make the corners at the bottom of the navigation bar round.
http://stupidwhitekid.com
#nav {
padding:0;
margin: 0 0 10px 0;
list-style:none;
height:33px;
background: url('./images/nav/0.png') repeat-x;
position:relative;
z-index:200;
font-family: arial, verdana, sans-serif;
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-border-bottom-left-radius: 10px;
-border-bottom-right-radius: 10px;
}
.preload1 {
background: url('./images/nav/0a.png');
}
.preload2 {
background: url('./images/nav/1a.png');
}
#nav {
padding:0;
margin: 0 0 10px 0;
list-style:none;
height:33px;
background: url('./images/nav/0.png') repeat-x;
position:relative;
z-index:200;
font-family: arial, verdana, sans-serif;
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-border-bottom-left-radius: 10px;
-border-bottom-right-radius: 10px;
}
#nav li.top1 {
display:block;
float: left;
margin-left:14px;
}
#nav li.top {
display:block;
float: left;
}
#nav li a.top_link {
display:block;
float: left;
height:33px;
line-height:31px;
color:#8FFFFD;
background: url('./images/nav/0.png');
text-decoration:none;
font-size:14px;
font-weight:bold;
padding:0 0 0 12px;
cursor:pointer;
}
#nav li a.top_link span {
display:block;
float: left;
padding:0 24px 0 12px;
height:33px;
background: url('./images/nav/0.png') right top no-repeat;
}
#nav li a.top_link span.down {
display:block;
float: left;
padding:0 24px 0 12px;
height:33px;
background: url('./images/nav/0a.png') no-repeat right top;
}
#nav li:hover a.top_link,
#nav a.top_link:hover {
color:#009FD9;
background: url('./images/nav/1.png') no-repeat;
}
#nav li:hover a.top_link span,
#nav a.top_link:hover span {
background: url('./images/nav/1.png') no-repeat right top;
}
#nav li:hover a.top_link span.down,
#nav a.top_link:hover span.down {
background: url('./images/nav/1a.png') no-repeat right top;
padding-bottom:3px;
}
#nav table {
border-collapse:collapse;
padding:0;
margin:0;
position:absolute;
left:0;
top:0;
}
#nav li:hover {
position:relative;
z-index:200;
}
#nav a:hover {
position:relative;
white-space:normal;
z-index:200;
}
#nav :hover ul.sub {
left:1px;
top:34px;
background-color: #000;
-moz-opacity:0.8;
-khtml-opacity: 0.8;
opacity: 0.8;
padding:3px;
border: 1px solid #FFF;
white-space:nowrap;
width:185px;
height:auto;
z-index:300;
font-weight:bold;
}
#nav :hover ul.sub li {
display:block;
float: left;
height:20px;
position:relative;
width:185px;
font-weight:bold;
}
#nav :hover ul.sub li a {
display:block;
font-size:11px;
height:18px;
width:183px;
line-height:18px;
text-indent:5px;
color:#F5F5F5;
text-decoration:none;
font-weight:bold;
}
#nav li ul.sub li a.fly {
background: url('./images/nav/arrow_over.png') 175px 6px no-repeat;
}
#nav :hover ul.sub li a:hover {
color:#F5F5F5;
background-color: #FFF;
border-color:#FFF;
font-weight:bold;
}
#nav :hover ul.sub li a.fly:hover {
background: #FFF url('./images/nav/arrow.png') 175px 6px no-repeat;
color:#F5F5F5;
}
#nav li b {
display:block;
font-family:Comic Sans MS,Sans-Serif;
font-size:12px;
height:18px;
width:183px;
line-height:18px;
margin-bottom:3px;
text-indent:6px;
color:#274F9E;
border-bottom:1px solid #D10800;
cursor:default;
}
#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul {
left:89px;
top:-4px;
padding:3px;
border:1px solid #000;
white-space:nowrap;
width:183px;
z-index:400;
height:auto;
}
#nav ul,
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul {
position:absolute;
left:-9999px;
top:-9999px;
width:0;
height:0;
margin:0;
padding:0;
list-style:none;
}
#nav li:hover li:hover > ul {
left: 183px; /* distance from right margin of main drop */
top: -4px;
background-color: #000;
padding: 3px;
border: 1px solid #FFF;
white-space: nowrap;
width: 185px; /* width of secondary drop */
z-index: 400;
height: auto;
}
#nav li:hover > ul ul {
position:absolute;
left:-9999px;
top:-9999px;
width:0;
height:0;
margin:0;
padding:0;
list-style:none;
}
#nav li:hover li:hover > a.fly {
background: #FFF url('./images/nav/arrow.png') 175px 6px no-repeat;
color:#F5F5F5;
font-weight: bold;
text-decoration:none;
}
#nav li:hover li:hover > li a.fly {
background: #FFF url('./images/nav/arrow.png') 175px 6px no-repeat;
color:#F5F5F5;
font-weight: bold;
text-decoration:none;
}
Thanks!