BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. HTML5 Canvas
  2. Ruby
  3. iPhone/iPad
  4. Spring Web Flow
  5. REST
  1. jQuery Selectors
  2. Spring Config.
  3. Java
  4. Ajax
  5. Java Concurrency

Link Details

Link 172768 thumbnail
User 209500 avatar

By rlamarch
via matthewjamestaylor.com
Published: Apr 11 2009 / 16:45

A lot of people want centered menus on their website but for the CSS novice this task seems impossible. In this post I'm going to show you my method of achieving centered tabs that does not use any CSS hacks and will work in all the common web browsers. Let's start with a basic example then I'll explain how it works.
  • 13
  • 0
  • 1799
  • 0

Comments

Add your comment
User 239201 avatar

amphi replied ago:

0 votes Vote down Vote up Reply

That's a very nice solution. A few weeks ago I was looking for a solution to this problem and I only found the rather ugly table wrap workaround. Relatively shifting twice is really smart. It never crossed my mind, but yea... it makes perfect sense. :)

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (13)



Voters Against This Link (0)