Hi,
I'm struggling with the CSS below, the "nav li a" text state is not properly aligned with the "nav li hover". I was hoping someone here can help me proplerly arrange the code below.
Code:#nav li a { -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; -webkit-border-top-left-radius:6px; -webkit-border-top-right-radius:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px; -webkit-border-bottom-left-radius:6px; -webkit-border-bottom-right-radius:6px; color:#FFF; display:block; float:left; font-size:14px; font-weight:700; letter-spacing:1px; line-height:100%; margin: 14px 20px 0 0; margin-top:6px; margin-left:20px; padding:5px 15px; text-decoration:none; text-shadow:1px 1px 1px #233a20; text-transform:uppercase; } #nav li a:hover { -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; -webkit-border-top-left-radius:6px; -webkit-border-top-right-radius:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px; -webkit-border-bottom-left-radius:6px; -webkit-border-bottom-right-radius:6px; border:1px solid #8ab713; background-color:#a73246; color:#FFF; margin-top:6px; padding:5px 15px; } #nav li.active a { -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; -webkit-border-top-left-radius:6px; -webkit-border-top-right-radius:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px; -webkit-border-bottom-left-radius:6px; -webkit-border-bottom-right-radius:6px; border:1px solid #8ab713; background-color:#a73246; color:#FFF; margin-top:6px; padding:5px 15px; }



Reply With Quote




Bookmarks