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

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


McKirahan
10/27/2004 2:08:21 PM
[quoted text, click to view]

Will this help? Watch for word-wrap.

<div style="position:absolute; left:240px; top:10px; z-index:0">
<img src="sold.jpg" border="0" width="640" height="480" alt=""
style="position:relative; left:0px; top:0px; z-index:1">
<img src="sold.gif" border="0" width="300" height="200" alt=""
style="position:absolute; left:170px; top:140px; z-index:2">
</div>

"sold.jpg" is an image of a house.
"sod.gif" is a transparent image of an outlien of the word "SOLD".

Astra
10/27/2004 2:08:24 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