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.
任何人都可以提供有关如何让“新”图标正确显示为论坛类别图像的绝对值的建议吗?我的网站
我希望它显示在每个类别图像上,但它只显示第一个。
使用CSS:
ul.listf li { ... position: relative; }
对于新图像:
ul.listf li .newf{ ... position:absolute; top:12px; left: 143px; }
重要的部分是将您的列表项位置设置为相对位置,因此绝对位置将取决于列表的位置