Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了问题,我找不到任何资源来处理它,也许这里有人会提供线索......
我有一个使用 fb.ui 对话框的 facebook 应用程序。问题是它们开得太低,我需要向下滚动才能单击接受/取消。
我找到的唯一资源告诉我要确保它 <div id="fb-root"></div>在<body>标签下,我的应用就是这种情况......
<div id="fb-root"></div>
<body>
有人知道吗?谢谢, 亚尼潘
你<div id="fb-root></div>需要在你的 html 中更上一层楼。最好作为第一个标签。
<div id="fb-root></div>
好吧,最终我直接使用了 CSS,#fb-root .dialog它允许我按照我想要的方式应用绝对位置,实际上非常简单......
#fb-root .dialog