tags:

views:

29

answers:

1

i need a small overlay to display at the bottom right corner of the page

i can't get the position right

div#overlay {
z-index: 5;
float: right;
}
+2  A: 
div#overlay { position:absolute; bottom:0; right:0; }

Something like this? z-index is useless without the element having a position of absolute/fixed/relative.

meder
+1 on the money
alex
actually when i drag up and down, it disappears.
fjfjwo
Are you looking to use `position:fixed` ?
meder
actually i forgot. fixed; did the trick/.
fjfjwo
Note that IE6 doesnt natively support it. You can use overflow-hidden on the `body` element and assign any position to the element for IE6 *only* or you can use a css expression. Would help seeing your desired result though.
meder