开发者

Getting div to float over text

开发者 https://www.devze.com 2023-02-10 07:27 出处:网络
I have the following script: http://jsfiddle.net/oshirowanen/nehaB/ But for some reason, when the dropdown is activated, it 开发者_C百科does not float over the text in the p tag.

I have the following script:

http://jsfiddle.net/oshirowanen/nehaB/

But for some reason, when the dropdown is activated, it 开发者_C百科does not float over the text in the p tag.

How can I get it to float over the text instead of the dropdown moving the text away?


Try this http://jsfiddle.net/nehaB/2/

What I did is to add position:relative;z-index:1; for .menu and position:absolute for content div

0

精彩评论

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