开发者

position overlay div in css/js

good people - a js & css Q: I have here a timeline, with an overlay. The positioning of the information-box that开发者_C百科 pops up is my problem. http://dev.favouritesystems.com/appslist/ it has position absolute, and I wonder how I can get it relative to content not screen? geddit? any hints appreciated.


Set the outer wrapper to relative, and keep the information-box as absolute. That way it will be absolute to the wrapper and not the body.


you need to add position:relative for your #wrapper then the popup will be positioned absolute according its parent

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜