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....
使用 CSS 代码
img {postion:fixed;float:right;}
和父母应该是position:relative;
position:relative;