POV-Ray : Newsgroups : povray.off-topic : Small CSS question : Re: Small CSS question Server Time
11 Oct 2024 13:14:16 EDT (-0400)
  Re: Small CSS question  
From: Invisible
Date: 7 Nov 2007 07:34:51
Message: <4731b0eb$1@news.povray.org>
Phil Cook wrote:
> And lo on Wed, 07 Nov 2007 09:36:17 -0000, Invisible <voi### [at] devnull> did 
> spake, saying:
> 
>> Well, that'll work... but surely there's some W3C compliant way of 
>> doing this transparently without such low-level hacks?
> 
> This is a W3C compliant way - HTML+CSS, what's not compliant about it? 
> The only thing you can moan about is the use of style in a strict.

It just seems a pitty to have to litter the code with style information 
that should be in a seperate stylesheet, that's all.

What I *could* do is this:

   style {padding: 1em;}
   style style {padding: 2em;}
   style style style {padding: 3em;}
   etc.

But that still seems a crying shame...

>> (I still don't understand why having a large box inside doesn't cause 
>> the containing box to enlarge itself...)
> 
> It does if you use a block rather then an inline element.

But then it adds unwanted linebreaks.


Post a reply to this message

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