gxbb097528
V2EX  ›  问与答

IE8 中 table 列对齐问题

  •  
  •   gxbb097528 · Jan 3, 2018 · 2158 views
    This topic created in 3061 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   ·   3011 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 10:55 · PVG 18:55 · LAX 03:55 · JFK 06:55
    ♥ Do have faith in what you're doing.