I have two divs who overlap(using zindex and absolute positions). I've been trying to get the top div to be the width of the browser window, but as soon as it gets halfway across the screen, it starts going backwards. ex. if window is 1000px, setting to 500px will show as 500px, but 600px will show as 400px.

I've so far tested on Firefox, Chrome, and Opera with all same results.

1 answer

0
points

figured it out, I needed right:0px and bottom:0px

Answered 4 months ago by eyecreate