CSS: Two 50% fluid columns not respecting min width

后端 未结 8 1028
清歌不尽
清歌不尽 2021-01-12 07:35

I\'m trying to use this layout with two 50% column width instead. But it seems that when the right columns reaches its \'min-width\', it goes under the left column. Is there

8条回答
  •  臣服心动
    2021-01-12 08:20

    Try this for the style:

    .left, .right { width:50%; float: left; }
    .right { float: right; }
    .minwidth { min-width: 500px; display: block; height: 0; clear: both; }
    

提交回复
热议问题