POV-Ray : Newsgroups : povray.off-topic : Small CSS question : Re: Small CSS question Server Time
11 Oct 2024 07:14:51 EDT (-0400)
  Re: Small CSS question  
From: Invisible
Date: 6 Nov 2007 11:47:23
Message: <47309a9b$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.