skip to content
Website Builder

Example Menu one

CSS play Support


CSS play Recommend

uk white label shopping carts for resellersSitegrinderFree, practical CSS menus, layouts, and examplesPSD to HTML

Follow CSS play

Facebook   Twitter



Information

Just a simple change of border style on hover.

Cascading Style Sheet

#menu a, #menu a:visited {
  text-align:center; 
  text-decoration:none; 
  color:#000; 
  display:block; 
  width:7em; 
  height:1.2em; 
  border:0.5em solid #fff; 
  }
#menu a:hover {
  color:#fff;
  background-color:#b2ab9b; 
  border-color:#dfd7ca #b2ab9b;
  }

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.




 

CSS play Testimonial

"The citroen.co.uk 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