search

Home  >  Q&A  >  body text

javascript - How to solve the problem that the width of bootstrap table cannot be aligned after fixed columns?

As shown in the picture, the td width here is inconsistent. How can I follow the width of the header?

我想大声告诉你我想大声告诉你2701 days ago1790

reply all(3)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-07-05 11:04:48

    Usually, only set the th width, no need to set the width of td. In addition, try to use thead and tbody

    reply
    0
  • 天蓬老师

    天蓬老师2017-07-05 11:04:48

    Generally speaking, they are aligned, try rewriting them. Or is there a change in your source code that causes it to be misaligned

    reply
    0
  • 为情所困

    为情所困2017-07-05 11:04:48

    This bug has been around for a long time and it is not your problem.
    Just remove the height attribute when declaring the table.

    reply
    0
  • Cancelreply