[eluser]jedd[/eluser]
Very probably - I don't know enough CSS to comment. Could you demonstrate with some code?
Would it work for non-contiguous spans/divs/whatever you're talking about?
Obviously it fails if you want to prepare for non-HTML output, but that's pretty rare around these parts.