[ZPT] Nesting a Tag in CSS
beno
zope@thewebsons.com
Thu, 10 Oct 2002 05:42:20 -0400
At 10:31 AM 10/10/2002 +0100, you wrote:
>Martijn Pieters wrote:
>>Templates are supposed to be meaningful even when unrendered. This means
>>that a template cannot break the rules of HTML, which state that <style> and
>><script> tags can *only* contain text content.
>
>Would the following be OK?
>
><style type="text/css">
>p {
> color: <tal:x replace="request/bodycolor">red</tal:x>;
>}
></style>
>
>..since the only tags are in another namespace?
This is basically what I was trying and no, it didn't work :(
beno