demo
HTML …
三网融合 img{ background-color: red; display: block; border: 2px solid white; } 我尝试过的: #main table{ width: 200px; display: table; table-layout: fixed; } demo What I want is here: 原始尺寸: 当我重新调整主要大小时: 最佳答案 @H_403_44@使用缩放属性,例如: #main table{ width: 300px; display: table; table-layout: fixed; zoom: 0.4; }
三网融合
img{ background-color: red; display: block; border: 2px solid white; }
我尝试过的:
#main table{ width: 200px; display: table; table-layout: fixed; }
What I want is here:
原始尺寸:
当我重新调整主要大小时:
#main table{ width: 300px; display: table; table-layout: fixed; zoom: 0.4; }