I’ve been working on a redesign of my website/blog, and I think I’ve finally gotten it close to where I want it. The only thing I hadn’t finished was the nav menu, so I tidied that up today. I decided to add some additional text to each menu item to make it more descriptive, so I stuck a <span> inside the <a> tag and used positioning to put the text below the menu item.
It works perfectly in all browsers, except Opera, where it seems to add the x value of my positioning together. The result is that the text gets farther and farther to the right with each item.
Here’s the link. If you view it in FF, Chrome, or IE7+ it seems to work fine. In Opera, it looks like this:
You can see how with each link, the text scoots farther and farther to the right, like the previous positioning is being inherited.
Is this an Opera problem, or is my CSS wrong and the other browsers are just being kind?