We would like to know how to remove bottom border for current menu item.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#underlinemenu ul {<!-- ww w . j a va2s . c om-->
width: 770px;
height: 57px;
}
#underlinemenu ul li {
display: block;
float: left;
height: 30px;
background-color: #EEE;
}
#underlinemenu .current_page_item {
background-color: #AAA;
}
#underlinemenu .current_page_item a {
height: 52px;
}
#underlinemenu ul li a {
display: block;
height: 57px;
padding: 0px 10px 0px 10px;
color: black;
background-color: #DDD;
}
#underlinemenu ul li a:hover {
height: 52px;
color: black;
}
</style>
</head>
<body>
<div class="wpbook_header">
<div id="underlinemenu" class="clearfix">
<ul>
<li class="current_page_item"><a href="#">Home</a></li>
<li><a href="#">The Blogs</a></li>
<li><a href="#">Meet the Bloggers</a></li>
<li><a href="#">Gallery</a></li>
<li><a href="#">FAQs</a></li>
<li><a href="#">Competition</a></li>
</ul>
</div>
</div>
</body>
</html>
The code above is rendered as follows: