My navigation bar is having float issues.
I want the sub Items to appear under the main items. But sadly, not the case right now.
Expand|Select|Wrap|Line Numbers
- .content-nav {
- display: table-cell;
- height: 100px;
- width: 700px;
- overflow: hidden;
- font-size: 23px;
- font-weight: bolder;
- font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif; }
- .content-nav ul { list-style: none; margin: 0 auto; }
- .content-nav ul li {
- float: left;
- padding: 0 4px;
- border-bottom: 1px Solid #000;
- border-bottom-left-radius: 20px;
- border-bottom-right-radius: 20px; }
- .content-nav ul li a { color: #000; text-decoration: none; }
- .content-nav ul li:hover { text-shadow: 1px 1px 2px #080; border-bottom-color: #088; }
Edit: Also the Blocks of color are just to see how the positioning is working for this new-to-me technique.