View Full Version : Div Image NOT appearing


rundellt2000
05-06-2003, 10:07 AM
Hi! I am making a site, and hav pic of the week. BUT when I try to position my pic, it doesn't work! Here is the Div code I am using:

<DIV id="pic" style="position: absolute; top: 100px; width:100px; left: 100px;" align=right><img src="http://webspace-empire.com/rundellt2000/images/heine.jpg"></DIV>

It works on it's own but when I combine it with an I-Frame code and an image +all the regular HTML stuff, it doesn't! I have tried layering and it still doesn't appear! I've uploaded the site so you can view the src: http://webspace-empire.com/rundellt2000/krazee.html . The problem is, it added a code. You will have to ignore EVERYTHING between <!-- _HEADER_START_ --> and <!-- _HEADER_END_ -->

Xiphias
05-06-2003, 12:30 PM
try this:

<div id="pic" style="position: absolute; top: 100px; width: 100px; left: 100px; z-index: 1;" align="right"><img src="http://webspace-empire.com/rundellt2000/images/heine.jpg"></div>

you had the z-index misplaced and with the wrong #

rundellt2000
05-08-2003, 11:12 AM
IT STILL DOESN'T WORK! I DIDN'T PUT A VISBILITY CODE! :crying:
WHAT'S WRONG!!!??!!?? :crying:

Lemon Squash
05-08-2003, 01:23 PM
Try..

<DIV id="pic" style="position: absolute; top: 100px; width:100px; left: 100px;" align=right><img src="heine.jpg"></DIV>