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.
我已经尽一切努力缩小“公告”和选框之间的差距,但没有运气。 http://isaac.issharepoint.com/examples/WebPartPages/scrolling.aspx
任何帮助,将不胜感激。
谢谢!
您有两个选择,首先,将它们都设为内联元素,使用display: inline;ordisplay: inline-block;
display: inline;
display: inline-block;
或者
您可以将它们都浮动到左侧
向左飘浮;
尝试添加float:left到“公告”跨度和选取框。选框也有margin-right:250px,您需要将其移除以完全关闭间隙。
float:left
margin-right:250px