Click to See Complete Forum and Search --> : Setting dynamic image as background...


cusimar9
12-13-2006, 11:30 AM
Can I use a dynamic image as a background?

For some reason the third image below doesn't work:

http://www.businessliving.co.uk/imagertest/test.asp


<html>
<head></head>
<body>

<img src="imagertest.jpg">
<BR>
<img src="/cgi-bin/Imager.dll?Image=<%=Server.MapPath("/imagertest/imagertest.jpg")%>&Width=50">
<BR>
<div style="background: URL(/cgi-bin/Imager.dll?Image=<%=Server.MapPath("/imagertest/imagertest.jpg")%>&Width=50); width: 200px; height: 100px;">TEST<BR>TEST</div>

</body>
</html>

gil davis
12-13-2006, 02:05 PM
Works for me in IE 6

russell
12-13-2006, 04:10 PM
me too. ie7

cusimar9
12-14-2006, 03:45 AM
Oh didn't even think of trying it in IE lol

Doesn't work in Firefox though... any suggestions?