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.
这段代码:
controls.position({ my: "right top", at: "right top", of: parent });
将元素controlsCSS 设置为
controls
<div style="position: absolute; top: 0px; left: 1355px;">...</div>
为什么不将其设置为right: 0px;?
right: 0px;
一种可能性是代码与不支持right或bottomCSS 属性的旧浏览器兼容。较旧的 IE 不支持这些。
right
bottom