I am trying to position a span element with relative positioning (and displayed as inline-block) after a a element with absolute positioning (and displayed as inline-block too). These two elements are in a li element. I succeeded with a bit of javascript, but if there is a css solution, I would really love to know it!
Here is the code I’m trying to “debug” http://jsfiddle.net/eKEEa/1/
Thanks in advance for helping!
I have changed your CSS from relative to positioning to
float:leftand removed thedisplay:inline-block. Live example: http://jsfiddle.net/eKEEa/4/