I almost did not use float:rightin my css, and now I did it and came across an annoying problem. I am navigating the menu items on the right.
my html
<ul id="extMenu">
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">Feedback</a>
</li>
<li>
<a href="#">Contact</a>
</li>
</ul>
my CSS
#extMenuBlock {
}
#extMenuBlock ul#extMenu {
list-style:none;
padding:0;
margin:0;
}
#extMenuBlock ul#extMenu li {
float:right;
padding:5px;
}
Now, when the elements are float, I get my menu, this is the order Contact Feedback Home, but I want them in the opposite order, i.e.Home Feedback Contact
Starx source
share