Horizontal menu with list items

/ Published in: CSS
Save to your folder(s)

Copy this code and paste it in your HTML
  1. #navmenu ul {margin: 0; padding: 0;
  2. list-style-type: none; list-style-image: none; }
  3. #navmenu li {display: inline; }
  4. #navmenu ul li a {text-decoration:none; margin: 4px;
  5. padding: 5px 20px 5px 20px; color: blue;
  6. background: pink;}
  7. #navmenu ul li a:hover {color: purple;
  8. background: yellow; }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.