Doing it with style
This one changes the text-align to right and alters the border-bottom: color.
#menu a, #menu a:visited {
text-decoration:none;
background-color:#fff;
color:#000;
display:block;
width:10em;
height:1.5em;
border-bottom:1px solid #fff;
border-right:1px solid #000;
padding:0.5em;
}
#menu a:hover {
border-bottom:1px solid #000;
text-align:right;
}
<div id="menu">
<a href="#nogo">Item 1</a>
<a href="#nogo">Item 2</a>
<a href="#nogo">Item 3</a>
<a href="#nogo">Item 4</a>
<a href="#nogo">Item 5</a>
</div>
Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.
This demonstration can be used subject to the following terms and conditions.
Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.