Within my HTML code, I have an A tag button that contains a Span element to hold icons. This setup functions correctly in most browsers, except for IE7. When I attempt to float the Span to the right side using CSS, it causes issues specifically in IE7, causing the A tag container to stretch.
<a href="#"><span> </span>Link</a>
I am determined to find a solution without altering the HTML structure by adding another span or moving the Span element to the right of the text. My goal is to resolve this issue using CSS alone.
If you would like to see the problem in action:
Test case with Span on left: http://jsfiddle.net/QeQSQ/1/ (IE7 works fine)
Test case with Span on right: http://jsfiddle.net/QeQSQ/2/ (IE7 has issues)