Header Text, my website
left;


left;
Ribbon title
This is a ribbon text. Some type of tip. This ribbon is placed on the right column and the column has the same background as the document making these boxes appear like "floating" on the document body.
Ribbon title
This is a ribbon text. Some type of tip. This ribbon is placed on the right column and the column has the same background as the document making these boxes appear like "floating" on the document body.
Ribbon title
This is a ribbon text. Some type of tip. This ribbon is placed on the right column and the column has the same background as the document making these boxes appear like "floating" on the document body.
Ribbon title
This is a ribbon text. Some type of tip. This ribbon is placed on the right column and the column has the same background as the document making these boxes appear like "floating" on the document body.
Ribbon title
This is a ribbon text. Some type of tip. This ribbon is placed on the right column and the column has the same background as the document making these boxes appear like "floating" on the document body.






link here

As you can see, the center content is elastic and fills the remaining space. Try to resize your browser window to see the results. Left column will remain untouched because is pixel-fixed, while right column will change because it's percentage-fixed, then the center content will fill the remaining space. This layout is:

  • total width: 80%
  • left width: 120px
  • right width: 22%
See when the left column is longer
See when the right column is longer
This is a named anchor link (one of the problems of the super-padding approach)

bottom;


bottom;
下载代码说明
X关闭

国外CSS多行三列自适应高度布局实例(文字也是竖排)

这是一个CSS实例代码包,可以下载下来测试,是国外的CSS多行三列自适应高度布局实例,文字也可以是竖向排列的,CSS三列布局在设计网站时候相当常见,国外的CSS代码,经测试兼容性方面兼顾着不错,具体效果请参见截图示,希望web前端的工程师们可以学习下。