I’m thinking this can be done with some sort of inline-block magic? maybe?
idk.. but basically, the text and the sprite should be inline.
right now, they are not: http://jsfiddle.net/DerNalia/qvZkK/2/
html:
<a href="" class="action_button" rel="facebox" style="">
<span class="button_sprite_x"></span>
Delete
</a>
Will your layout allow you to float it?
http://jsfiddle.net/qvZkK/3/
UPDATE:
Ah, but you probably want the sprite to be within the
aelement’s background. A combination ofdisplay: inline-blockandfloat: leftdoes that.http://jsfiddle.net/qvZkK/4/