gxbb097528
V2EX  ›  问与答

IE8 中 table 列对齐问题

  •  
  •   gxbb097528 · Jan 3, 2018 · 2226 views
    This topic created in 3094 days ago, the information mentioned may be changed or developed.

    项目需要兼容 IE8,列表中有原本是用三个div分别包裹三个table,相当于表头、内容和底部,但是一缩放表头和内容就对不齐,我试了试直接去掉div,把三个table直接改成theadtbodytfoot,但 IE8 中的tbodyoverflow有问题,滚动条一直不出来,网上查到类似情况,按照这个修改后,由于float属性,表格边框又不显示了,求教各位,这种问题有没有比较好的解决办法

    1 replies    2018-01-04 14:01:50 +08:00
    omg21
        1
    omg21  
       Jan 4, 2018
    直接用 tr 替换 thead、tbody、tfoot 试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5546 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 02:56 · PVG 10:56 · LAX 19:56 · JFK 22:56
    ♥ Do have faith in what you're doing.