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.
如何让登录按钮链接与其他链接位于同一行?我已经尝试调整锚标签的边距和填充,但它不起作用。
HTML 代码:
<a data-toggle="modal" role="button" href="#myModal"> <img border="0" src="/images/login.jpg"> </a>
代码有什么问题?
将此添加到imgcss 中:
img
a[data-toggle="modal"] > img {margin: 13px 0;}