【问题标题】:How to make the first column of my <table> not movable when I scroll table?滚动表格时如何使 <table> 的第一列不可移动?
【发布时间】:2013-04-10 02:41:09
【问题描述】:

我的表格放在 div style = "overflow:auto" 中,但我希望第一列保持原位,而所有其他列都在滚动。

【问题讨论】:

    标签: html css html-table custom-scrolling


    【解决方案1】:

    style="position:fixed;top:100px;left:50px" 添加到您要修复的行(您可以调整 px 值)。

    【讨论】:

      猜你喜欢
      • 2020-07-24
      • 1970-01-01
      • 2010-09-22
      • 1970-01-01
      • 1970-01-01
      • 2014-03-07
      • 1970-01-01
      • 2019-12-17
      • 1970-01-01
      相关资源
      最近更新 更多