Override and reset CSS style: auto or none don't work

后端 未结 7 1175
灰色年华
灰色年华 2021-01-30 04:50

I would like to override following CSS styling defined for all tables:

table {
        font-size: 12px;
        width: 100%;
        min-width: 400px;
               


        
相关标签:
7条回答
  • 2021-01-30 05:35

    The best way that I've found to revert a min-width setting is:

    min-width: 0;
    min-width: unset;
    

    unset is in the spec, but some browsers (IE 10) do not respect it, so 0 is a good fallback in most cases. min-width: 0;

    0 讨论(0)
提交回复
热议问题