Click to See Complete Forum and Search --> : relative postitioning


dennic
03-07-2003, 11:10 PM
how come when i position an image relatively when i have set the image in a %, i cant find it anywhere on the screen??

example

#capbuff1 {position: absolute; left:40px; top:1px}

<div id="capbuff1">
<img src="images/photo1.gif" width="26%" height="40%" >
</div>

khalidali63
03-07-2003, 11:40 PM
essentially,it is all based on how the rest of the elements are positioned on the page,and what is the positioning co-ordinates image is inheriting.

A desriptive look on your code,may be needed.

Cheers

Khalid