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.



Comments
amphi replied ago:
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. :)
Voters For This Link (13)
Voters Against This Link (0)