POV-Ray : Newsgroups : povray.off-topic : Small CSS question : Re: Small CSS question Server Time
11 Oct 2024 13:18:10 EDT (-0400)
  Re: Small CSS question  
From: Phil Cook
Date: 9 Nov 2007 10:59:18
Message: <op.t1i7untmc3xi7v@news.povray.org>
And lo on Fri, 09 Nov 2007 15:08:59 -0000, Nicolas Alvarez  
<nic### [at] gmailisthebestcom> did spake, saying:


>> Phil Cook wrote:
>>> And lo on Fri, 09 Nov 2007 14:40:17 -0000, Invisible <voi### [at] devnull>  
>>> did spake, saying:
>>>
>>>> Certainly a lot easier to find subexpressions than in the raw text  
>>>> above. Just a pitty it takes so many miles of CSS...
>>>
>>> Well the CSS is fixed so just dump it into a separate file and all  
>>> you'll have is the spans
>>  True.
>>  I'm wondering if I could do something weird with inheritance and  
>> percentage units...
>
> All you need is server-side scripting. Count the parentheses levels and  
> generate the CSS with that many levels.

Which was my first suggestion :-)

> But a pure CSS method would be nice.
>
> Still, you should really use MathML. That's what it's made for...

But little use unless you can serve it as application/xhtm+xml whereas  
html is always served as text/html without the need for a dedicated server  
component.

-- 
Phil Cook

--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com


Post a reply to this message

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