Information
This one changes the text-align to right and alters the border-bottom: color.
Cascading Style Sheet
#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;
}
xhtml
<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>
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.
Recommended Sites
- SEO
First Rate - Australian SEO Company - web hosting, dedicated servers
web reseller, managed servers - Create Free Flash website
Create amazing websites with Wix.com - VPS Hosting
Virtuozzo VPS Hosting - $19.95/mo - Web design in Dorset
Bournmouth based web design agency - CSS Menus
A CSSplay develoment
"The
web site uses
CSS Play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."
Damon Clark - Brandwidth
CSS play pages




