Fieldset does not support display: table / table-cell

前端 未结 3 499
萌比男神i
萌比男神i 2020-12-06 17:50

I\'m trying to use display: table with fieldset, but it\'s not scaling properly. The same thing works if I change

to
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-06 18:27

    The fieldset is an element with special behavior, so it is likely for this issue to occur.

    Add another div wrapper inside your fieldset wrapper, and use the div. Change fieldset back to normal, or block.

    a
    b
    c

提交回复
热议问题