开发者

how do i make a small overlay at the bottom right corner with z-index 5?

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

i can't get the position right

开发者_JS百科
div#overlay {
z-index: 5;
float: right;
}


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜