Python Stripped CSS Background Image Calls

JenAsh abstractj at gmail.com
Tue Jul 25 00:01:52 EDT 2006


In my python file I have several css calls--they all works except for
the background image CSS call.

.mystyle { background-image:
url(http://www.mysite.com/images/background.gif); }

When I try to view it in the browser the code is somehow stripped. I
only get the following:

.mystyle { }

How can I get Python to ignore the codes? Sort of like cdata in XML.
Sorry I am very unfamilar with Python.

Can anyone explain?




More information about the Python-list mailing list