Ok so I have a span with a background that is positioned in the left side, and a 20px padding-left to keep text from being rendered on top of the image... pretty standard.
I also set white-space:nowrap on the span to stop the line from wrapping.
The span is in a div about 200px wide. If the text in the span is long enough to exceed the length of the containing div suddenly the padding starts to get ignored and the text renders on top of the bg image. This stops happening if I leave white-space:normal. Also the containing div has overflow: auto set (scroll bars being rendered).
Using IE8 ... is this a known thing? Is there a standard fix, I haven't been able to find anything :(