This should be a really easy answer to someone who knows what their doing. I am attempting to create a drop down css navigation. This is one of the easier ones I found online. My issue is that I want to adjust the font size and/or style. I do not know how to do so. Here is my code...
Code:ul.nav, .nav ul{ margin: 0; padding: 0; cursor: default; list-style-type: none; display: inline; } ul.nav{ display: table; width: 900px; height: 20px; } ul.nav>li{ display: table-cell; position: relative; padding: 2px 6px; } ul.nav li>ul{ display: none; position: absolute; max-width: 40ex; margin-left: -6px; margin-top: 2px; } ul.nav li:hover>ul{ display : block; } .nav ul li a{ display: block; padding: 2px 10px; } ul.nav, .nav ul, .nav ul li a{ background-color: #fff; color: #3366ff; } ul.nav li:hover, .nav ul li a:hover{ background-color: #3366ff; color: #fff; } ul.nav li:active, .nav ul li a:active{ background-color: #3366ff; color: #fff; } ul.nav, .nav ul{ border: 3px solid #3366ff; } .nav a{ text-decoration: none; }



Reply With Quote

Bookmarks