lil_apri
07-17-2003, 09:29 AM
Hi,can someone please teach me how to put an image behind the iframe?I don't want it to set as background.I want a picture behind it. Do you understand what I'm trying to say? Can you also paste a sample code here so I basically can figure out how they do it. Thank you =)
CryptalClear
07-17-2003, 03:31 PM
<div style="position: absolute; top: #px; left: #px; width: #px; height: #px; z-index: 1">put your image here</div>
<div style="position: absolute; top: #px; left: #px; width: #px; height: #px; z-index: 2">your iframe code in here</div>
Just position the image where you want it using the top and left sections, then change your width and height attributes. Position your iframe on top of the image using those same sections, but in the 2nd div code. That way, you put the iframe exactly where you want it, on top of the picture. Does this help you any?