Hello All,
I was building this navigation list and I can't seem to the get the effect I want. Here is what I have:
Code:ul#nav { text-align: center; height: 130px; } ul#nav li a { color: #535353; } ul#nav li { display: inline; padding: 0px 2px 0px 8px; height: 130px; } ul#nav li a { height: 130px; border-right: 2px solid gray; } ul#nav li a:hover { background-color: #365d76; } ul#nav li.last { border-right: 0px; }
The HTML
The thing I want is the borders on the right side of each li element to be 130 px, and when the user hovers over the link the entire like li element changes color. But right now the effect is very small.....Code:<div id='navigation'> <ul id='nav'> <li><a href="homeBasedService.php">TEST</a></li> <li><a href="#">TEST</a></li> <li><a href="#">活TEST</a></li> <li class='last'><a href="#">TEST</a></li> </ul> </div>
Can anyone help me?





Bookmarks