开发者

CSS layout with header and colums top to bottom

Greets,

I'm currently working on a website and have stumbled upon some layout di开发者_C百科fficulties. What I want is a website with a header (fixed hight) and followed by three columns (left, middle, left). I want the columns to stretch from top to bottom. But when I set them to a 100% height, the page gets overflow from the static header on 140px. I have included an image of the page with lots of colors to show the divs (http://oi51.tinypic.com/974rqd.jpg).

Any help is greatly appreciated!


This should solve your problem: http://www.cssplay.co.uk/layouts/three-column-layouts.html


Set a background image that repeats vertically. Either one image for each section, or easier yet, a single image that contains the dividers of all 3 sections.

See here for an example of this being done.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜