Sent by Eric A. Meyer on 8 February 2002 18:06
At 16:49 -0600 2/8/02, Dougal Campbell wrote:
>I don't think you can float inline elements like span.
Sure you can. You can float anything your browser will let you
get away with, since CSS says 'float' applies to all elements (except
those which have been positioned, and any generated content).
I'd have approached the problem like this:
<p class="title">
<span style="float:right;"> Michael Collins</span>
<span style="float:right;"><a href="default.html">Return to Home</a></span>
</p>
The main problem is with browsers that treat float as "float down to
the top of the next line" instead of "float to the side and align
with the top of this line." I think IE5.x is one such browser, but
I'm not 100% certain there.
--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
-- Martina Kosloff