阅读背景:

如何设置浮动div的宽度以占用剩余空间而不会推动其他div?

来源:互联网 

For part of a layout I want to make, I want to use three divs, all floating next to each other. The Left and Right have a max-width set, which works fine, but I want the middle div to expand its width to fill the remaining space. To clarify, the left and right divs may have a width of anywhere from 0px to the max-width, depending on what is in each, and I want the middle div to expand its width so that it takes up the rest of the space not used by the divs on either side.For part of a layout I want to make, I want to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: