|
|
Nicolas Alvarez wrote:
>> 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*
Yeah, I already discovered that one myself. ;-)
There's a couple of other settings that do more or less the same thing
too. (display:table, etc.) But none does what I actually want. :-(
Post a reply to this message
|
|