[ZPT] Nesting a Tag in CSS

beno zope@thewebsons.com
Wed, 09 Oct 2002 07:21:54 -0400


At 01:32 PM 10/9/2002 +1000, you wrote:
>On Wed, 9 Oct 2002 8:42 am, beno wrote:
> > Hi;
> > How would I accomplish the following in a way that will perform the
> > substitution that I want?
> >
> > <style type="text/css">
> >   .headline { position: absolute;
> >     top: <p tal:content="python:here.sizeCalc2(50,here.size(None,
> > here))"/>; }
> > </style>
>
>TAL is disabled inside <style> and <script> tags intentionally - all sorts of
>problems arise otherwise. You're best to template your CSS in python or (ick)
>DTML.

I thought that might be the case. I can do that.
Thanks,
beno