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.
我需要图像将在同一行。如何造型?
<div> <img src=""/> <img src=""/> </div>
这当然会给我在同一行但有一些空格的图像。当然,只有当我写<img src=""\>在同一行时它才有效。显示内联对我没有帮助。有什么线索吗?
<img src=""\>
建议从一些 css 重置开始,如下所示: CSS Reset
然后使用:
img { float:left; border: 0; margin: 0; }