To my mind it\'s not necessary to put negative margins when we can avoid it. But, your examples make me realized that is sometimes usefull (example for the display of theullist). Thanks for sharing your knowledge aboutCSS. ...
Ok, thecssvalidated fine. When going from FF to IE 7, I had to simply remove the float from thecontaining the menu, and it worked fine. In IE 8 however, the menu renders as if there are blank\'s between each menu item. ...
jQuery Navigation -CSS. Notice there were no duplicatetags in the markup in step 1. We will be adding that later with a few lines of jQuery.ul#topnav { margin: 0; padding: 0; list-style: none; float: left; font-size: 1.1em; ...
The first bitulli is the basicCSSto make the navigation menu horizontal, I\'ll get back to the margins at the end. Theulli:after section selects eachulli element and puts a“|” after it this results in a menu like this ...
Create aCSSmenu where LI elements are centered I found out that it wasn\'t that easy to create aCSSmenu with the LI elements in the center. The first way.