Element not in right space

Yes, but if you want to restructure your html, my suggestion is that this is probably not a proper use of <span> (some of the more expert people here might correct me on this) and the first thing you should do is replace that tag with a more appropriate one. Then you can deal with the CSS needed to position (not ‘hack’) your element where you want it to be.