Float a div above page content

后端 未结 6 815
一生所求
一生所求 2020-12-03 00:33

I\'ve implemented a popup box that dynamically displays search options. I want the box to \"float\" above all of the site content. Currently, when the box is displayed it

6条回答
  •  不思量自难忘°
    2020-12-03 00:47

    Use

    position: absolute;
    top: ...px;
    left: ...px;
    

    To position the div. Make sure it doesn't have a parent tag with position: relative;

提交回复
热议问题