[Zope] background image
Geir B Hansen
Geir B Hansen <geirh@funcom.com>
Tue, 28 Mar 2000 10:22:18 +0200
on Tuesday, March 28, 2000 Murat Kasikcioglu wrote :
MK> hi all,
MK> how can i use background image in dtml document?
MK> for example:
MK> ....
MK> <body background="<dtml-var "myimage>">
^^ ^^
MK> this syntax returns an error.
MK> thanks for your help.
MK> --
MK> Murat Kasikcioglu
MK> Innova Consulting Company
MK> http://www.innovaconsulting.com
<dtml-var ***> with an image object writes out a full <img
src=***>-tag..
Your html-will look like this :
background"<img src="myimage">"
write it out as straight html :
background=myimage"
the error you're getting is probably because of the faulty
qouting in the dtml-var-tag..
MK> <body background="<dtml-var "myimage>">
^^ ^^
--
Geir Bækholt Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com