In <[EMAIL PROTECTED]>, JenAsh wrote: > 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?
Can you explain in a little more detail what you are doing? Python doesn't know about CSS and it's illegal syntax to just write CSS into Python programs. I guess there's a web framework involved? Or CGI? Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list