[Zope] Quoting HTML

beno zope@thewebsons.com
Thu, 10 Oct 2002 14:15:14 -0400


At 07:57 PM 10/10/2002 +0200, you wrote:


>beno schrieb:
>
>>Hi;
>>I have the following Python Script (*not* External Script):
>>
>>import string
>>
>>size = string.atoi(size)/1280
>>css = "<style type='text/css'>"
>>css += ".headline { position: absolute; top: " + str(100*size) + "; left: 
>>" + str(150*size) + "; font-style: 800 " + str(40*size) + "px futura }"
>>css += ".belowHeadline { position: absolute; top: " + str(150*size) + "; 
>>left: " + str(250*size) + "; font-style: italic " + str(25*size) + "px 
>>verdana }"
>>css += "</style>"
>
>Try:
>
>print css
>return printed

Nope. Try again?
TIA,
beno