更新时间:2023-02-16 15:52:08
对于这样的布局,我强烈建议使用Grid 960系统:
http://960.gs/ [ ^ ]
这将使您可以在固定宽度的容器中创建三列-您还可以使用此布局系统创建页眉和页脚.
这是一种非常好的方法-经常使用,因此可以在需要时获得支持,并且非常容易设置.
以下页面更详细地介绍了实际使用960g的方法-包括如何处理标头:
http://www.thewebmadeeasy.com/css/css3 -grid-principals-3-creating-the-960-divisions-3/ [
For layouts such as this, I would strongly recommend using the Grid 960 system:
http://960.gs/[^]
This will let you create three columns in a fixed width container - you can also create the header and footer with this layout system.
This is a very good approach - it is commonly used so you can get support if you need it and very easy to set up.
The page below has more detail on actually using 960gs - including how to deal with a header:
http://www.thewebmadeeasy.com/css/css3-grid-principals-3-creating-the-960-divisions-3/[^]
Good luck!!