views:

444

answers:

2

Problem page: http://www.antisit.com

Stylesheet: http://www.antisit.com/styles.css

Any idea how to make this work in Firefox? (It appears as if the right tab image is being pushed below the link, as if there weren't enough room for it within the anchor element.

Also, the reason that I'm using two tags is that I prefer using less image data to having neater code. If you have any suggestions for a better way, let me know.

Thanks, John

+2  A: 

You can try this markup:

<a href="http://www.antisit.com/articles"&gt;
  <span class="left"></span>
  <span class="right"></span>
  Articles
</a>

Seems to work fine in Firefox with firebug although I haven't tried anywhere else. Unfortunately, order shouldn't matter but it does sometimes. :(

Jorge Alves
A: 

Thanks, Jorge; that worked!

Good to know. :)I've been there for a few times, but make sure it works in other browsers! Floats are sneaky!!!
Jorge Alves
Please mark as answered
alex