> I tried giving it both padding and margin, but didn't get what you
> wanted. However, display:block did the trick. It makes the span behave
> just like a div (and a div with display:inline would be identical to a
> span). You need to give it explicit width though; the default is 100% of
> the container block (the whole page in my test).
Scratch that; it doesn't match what you want (but gets close enough). It
doesn't get the B and D on the *sides* of the C block.
*tweaks more*
Post a reply to this message
|