|
following is the code with the changes i have made but i do not see the divider for the last list item at the right side
<div class="topmenubg">
<div class="topmenuwrapper">
<div class="topmenu">
<ul>
<li><a href="#" class="journals">Journals</a></li>
<li><a href="#" class="author">Author Resources</a></li>
<li><a href="#" class="about">About Us</a></li>
<li><a href="#" class="peer">Peer Reviewers</a></li>
<li><a href="#" class="newsa">News</a></li>
<div class="clear"></div>
</ul>
</div>
<!-- topmenu ends -->
</div>
<!-- topmenuwrapper ends -->
</div>
<!-- topmenubg ends -->
.topmenubg {
float: left;
width: 100%;
height: 40px;
margin-top: 20px;
background: url('topmenubg.jpg') repeat-x top left;
}
.topmenuwrapper {
width: 940px;
margin: 0 auto;
}
.topmenu {
float: left;
width: 718px;
height: 36px;
padding: 2px 0 2px 0;
}
.topmenu ul {
float: left;
list-style-type: none;
margin: 0;
padding: 0 0 0 0;
}
.topmenu ul li{
display: inline;
float: left;
margin: 0 0 0 0;
padding: 0 0 0 10px;
background: url('topmenu_divider.gif') no-repeat top left;
}
.topmenu ul li a {
color: #fff;
font: bold 13px Gotham, Verdana, Arial, sans-serif;
text-decoration: none;
display: block;
padding: 10px 20px 10px 20px;
}
.topmenu ul li.newsli a{
background: url('topmenu_divider.gif') no-repeat top right !important;
}
.topmenu ul li a.journals {
background: url('journals.png') no-repeat 2px 10px;
}
.topmenu ul li a.author {
background: url('author.png') no-repeat 2px 10px;
}
.topmenu ul li a.about {
background: url('about.png') no-repeat 2px 10px;
}
.topmenu ul li a.peer {
background: url('peer.png') no-repeat 2px 10px;
}
.topmenu ul li a.newsa {
background: url('news.png') no-repeat 0px 10px;
}
.topmenu ul li:hover{
background: #ccc;
}
|