Click to See Complete Forum and Search --> : layer positioning


martha
11-08-2004, 01:15 PM
I have an image into a layer, and I have positioned it the way I want it. But, when I resize my window, the layer doesn't move following the rest of my body, but it stucks exactly where it was on full window. Please have a look at http://www.petrosoft.gr/services/virus_firewall_protection.asp and try to tile windows vertically to see what I mean.
I tried changing positions (absolute, relative or static) but it didn't change at all.
What am I doing wrong?

David Harrison
11-08-2004, 01:30 PM
Please don't x-post (http://www.codingforums.com/showthread.php?t=47198), it wastes everyone's time.

martha
11-08-2004, 02:04 PM
You didn't answer my question. So you know why I am doing that, because I need an answer.

David Harrison
11-08-2004, 02:16 PM
Could it possibly be because you positioned them like so:<div id="Layer1" style="position:absolute; width:113px; height:86px; z-index:1; left: 741px; top: 154px;" class="layer">It doesn't matter whether you use absolute, relative or fixed, with left:741px; they ain't gonna move when you resize.