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 中,如下所示:
运气不太好。这是怎么回事?如何在表格行标题内定位?
该 div.headerContainer 不是有效标记,因此浏览器将尝试更正它。而是设置 th 的样式并为 first 和 last 添加类。这是一个例子。另一种选择是使用适当大小的背景图像并将其应用于父 div (.geniusPicks)
!:)