I am trying to make a menubar for my website using CSS and HTML, but the buttons appear in reverse order. Here is some of the source:
HTML:
<div class="hovermenu">
<ul>
<li class="hovertarget"><a href="">HOME</a></li>
<li class="hovertarget"><a href="">CONTACT US</a></li>
<li class="hovertarget"><a href="">MEMBER LOGIN</a></li>
</ul>
</div> CSS:
.hovertarget a {
font:13px verdana;
color:#000000;
padding:10px 0.5em;
text-decoration:none;
float:right;
background-color:#CC3300;
}
.hovertarget a:hover {
background-color:#CC6600;
}
.hovermenu ul li {
list-style:none;
display:inline;
} How do I make the menubar stay to the right of the page, but have the items in the correct order?