Three column web design with variable sides

后端 未结 4 973
时光说笑
时光说笑 2021-01-22 06:19

I\'ve been trying to come up with a way to create a 3 column web design where the center column has a constant width and is always centered. The columns to the left and right a

4条回答
  •  有刺的猬
    2021-01-22 06:23

    Check this out: http://www.glish.com/css/2.asp

    And replace the width: xx% for #maincenter by a fixed value. Seems to work when I change it with Firebug, worth a shot?

    #maincenter {
      width: 200px;
      float: left;
      background: #fff;
      padding-bottom: 10px;
    }
    

提交回复
热议问题