I have the following markup:
<div id="footer">
<a href="/">Home</a> |
<a href="/about">About</a> |
<a href="/contact">Contact</a>
</div>
With the following styling:
#footer {
position: relative;
float: left;
background: white;
width: 960px;
height: 50px;
border-bottom-left-radius: 50px;
border-bottom-right-radius: 50px;
-moz-border-radius-bottomleft: 50px;
-moz-border-radius-bottomright: 50px;
box-shadow: 2px 2px 3px #000;
-moz-box-shadow: 2px 2px 3px #000;
-webkit-box-shadow: 2px 2px 3px #000;
}
#footer > a {
padding-top: 10px;
}
Is there any particular reason that the padding isn't applied to all of the child <a> elements of my #footer div?
I'm trying a similar effect without a parent > child selector somewhere else on my page, so I'm assuming it's a problem with my selector.
Browser version: Chrome 11 Beta Mac OS X
display: inline;