-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mihamina Rakotomandimby wrote: > Hi, > When wanting to do some inline CSS, I sometimes have to do: > > <div style="font-family:foo; padding:20px;"> > ... > </div> > > How to make that using tal:attributes? the ";" are genrating errors. > Backslash does not escape the ";".
Double the semicolon to escape it, e.g.: <div tal:attributes="style string:font-family:${family};; padding:20px;"> Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFecAm+gerLs4ltQ4RAtZ3AKCtRhYwR0eCwWXK/nbUYI5VyTAaLgCdF+d1 ZpHRnCwxphyhpFlUnxh7zj0= =gW4q -----END PGP SIGNATURE----- _______________________________________________ ZPT mailing list ZPT@zope.org http://mail.zope.org/mailman/listinfo/zpt