Groups | Blog | Home
all groups > inetserver asp general > october 2004 >

inetserver asp general : superimposing a pic on a pic when the data is dynamic


Ray Costanzo [MVP]
10/27/2004 10:12:23 AM
If you just did this in a static .htm file, you could do something like:

<html><body>
<img src="/images/house.jpg"><img src="/images/sold.gif" style="position:
relative; left: -150px; top: -100px;">
</body></html>

Perhaps that'll get you started.

Ray at work

[quoted text, click to view]

Ray Costanzo [MVP]
10/27/2004 10:14:05 AM
Here is some more info. http://www.aspfaq.com/5003

Ray at work


[quoted text, click to view]

Astra
10/27/2004 2:08:40 PM
Hi All

I know the subject may sound weird so hopefully the below will explain.

1) I'm creating an estate agent web site, which will display a 1 x jpg pic
and say 4 text descriptions for each property from a DB using ASP .

2) Another aspect of shall we say the property's properties is that it will
contain a flag to say whether a property has been sold on not. If it has
then I would like to superimpose a transparent pic of a sold sign over the
top of the property pic

Hard coding this sort of thing doesn't seem much of a problem if I use
absolute and z-indexing to superimpose the sold pic over the house pic, but
because my list of properties is going to be dynamically generated I won't
be able to use absolute positioning because I won't know where to
superimpose the pics.

Has anybody been able to acheive this effect?

Rgds

Robbie





----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
AddThis Social Bookmark Button