开发者

Div layout with 3 columns: fixed - liquid - fixed

I'm trying to build a 3 column layout that has one fixed column on the left, a fluid column in the middle and another fixed column on the right.

Anyone seen this?

There are similar probl开发者_运维百科ems here, but not the solution I was looking for. CSS Layout 2-Column fixed-fluid


http://www.dynamicdrive.com/style/layouts/category/C13/

http://www.dynamicdrive.com/style/layouts/item/css-liquid-layout-31-fixed-fluid-fixed/

Yes?


Use fixed width and float to the appropriate side on the left and right columns. Then set the right and left margins of the fluid div to the width of the fixed divs. Fluid div should follow the fixed ones in the html.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜