I am attempting to float a span to the right within an h2 element. In IE8 and Firefox this works fine; in IE7 it is not floating.
The HTML:
<h2>
    <span id="spanA"> /*Should be floated to the right*/
    <span id="spanB">
    <span id="spanC">
</h2>
The CSS:
#spanA{
    float: right;
}
Any ideas as to what could be wrong?