POV-Ray : Newsgroups : povray.off-topic : Small CSS question : Re: Small CSS question Server Time
11 Oct 2024 13:14:10 EDT (-0400)
  Re: Small CSS question  
From: Orchid XP v7
Date: 6 Nov 2007 13:21:39
Message: <4730b0b3$1@news.povray.org>
Phil Cook wrote:

> What's wrong with this?
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <style>
> span.outer {border: red 1px solid; padding: 20px;}
> span.inner {border: red 1px solid; padding: 10px;}
> span.centre {border: red 1px solid; padding: 0px;}
> 
> </style>
> <span class="outer">A<span class="inner">B<span
> class="centre">C</span>D</span>E</span>
> </html>

Apart from there being an echo in here, that only allows a fixed amount 
of nesting. I want to allow arbitrary nesting.

(This is basically for printing out expressions containing insane 
numbers of brackets. I want to use borders to help untangle the mess in 
some kind of visually-sane way...)


Post a reply to this message

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