I’m a newbie to HTML and CSS and was having some trouble with the handling of border-radius on hover states.
At http://sundae.host22.com/ you will notice that the “about” and “works” links display a grey corner.
Is this fixable? Or is it a bug? Couldn’t find anything on the forums, and nothing online either.
Here’s my CSS:
#nav {
margin: 0 auto;
padding: 0 auto;
width: 500px;
}
#nav ul {
margin: 0;
padding: 0;
list-style-type: none;
}
#nav li {
float: left;
margin: 0;
padding: 0;
background: #000;
}
#nav a {
margin: 0;
padding: 5px;
font-family: monospace;
font-size: 24px;
float: left;
width: 150px;
color: #fff;
text-decoration: none;
letter-spacing: .25em;
text-align: center;
}
#nav a:focus {
outline: thin dotted;
}
#nav a:hover,
a:active {
outline: 0;
color: #000;
font-weight: bold;
background: yellow;
}
#nav_left {
-webkit-border-bottom-left-radius: 15px;
-moz-border-radius-bottomleft: 15px;
border-bottom-left-radius: 15px;
}
#nav_left a:hover {
-webkit-border-bottom-left-radius: 15px;
-moz-border-radius-bottomleft: 15px;
border-bottom-left-radius: 15px;
}
#nav_right {
-webkit-border-bottom-right-radius: 15px;
-moz-border-radius-bottomright: 15px;
border-bottom-right-radius: 15px;
}
#nav_right a:hover, a:active {
-webkit-border-bottom-right-radius: 15px;
-moz-border-radius-bottomright: 15px;
border-bottom-right-radius: 15px;
}