Centered Tabs with CSS


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



Copy this code and paste it in your HTML
  1. #navigation ul, #navigation ul li {
  2. list-style: none;
  3. margin: 0;
  4. padding: 0;
  5. }
  6.  
  7. #navigation ul {
  8. text-align: center;
  9. }
  10.  
  11. #navigation ul li {
  12. display: inline;
  13. margin: 0 .75em;
  14. }

URL: http://24ways.org/2005/centered-tabs-with-css

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.