Sticky flexible footers and headers CSS working fine in WebKit, but not in Gecko

后端 未结 4 1026
被撕碎了的回忆
被撕碎了的回忆 2021-01-05 12:24

I\'m attempting to build a layout that allows a flexible height header and footer, with a section in the middle consuming the remaining space. Any overflow in the middle sho

4条回答
  •  暖寄归人
    2021-01-05 12:50

    From here How to get firefox to show an auto horizontal scollbar for a div?

    Firefox doesn't recognize overflow-x and overflow-y.

    Instead use overflow:-moz-scrollbars-horizontal; or overflow:-moz-scrollbars-vertical;

提交回复
热议问题