Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试构建一个 3 列布局,左侧有一个固定列,中间有一个流体列,右侧有另一个固定列。
有人见过这个吗?
这里有类似的问题,但不是我正在寻找的解决方案。 CSS Layout 2-Column 固定流体
http://www.dynamicdrive.com/style/layouts/category/C13/
http://www.dynamicdrive.com/style/layouts/item/css-liquid-layout-31-fixed-fluid-fixed/
是的?
使用固定宽度并浮动到左右列的适当一侧。然后将流体div的左右边距设置为固定div的宽度。流体 div 应遵循 html 中的固定 div。