POV-Ray : Newsgroups : povray.off-topic : Small CSS question : Re: Small CSS question Server Time
11 Oct 2024 07:14:29 EDT (-0400)
  Re: Small CSS question  
From: Nicolas Alvarez
Date: 6 Nov 2007 11:42:05
Message: <4730995d$1@news.povray.org>

> 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

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