Menu

vertical columns

Help
phelix
2008-02-22
2012-10-09
  • phelix

    phelix - 2008-02-22

    Hi,
    is it possible to render "display:column"s vertically? If not would it be a good idea to extend the library in that way?
    Felix

     
    • AndyC

      AndyC - 2009-08-27

      Yes, but the method is independent of the display grid. I used CSS only to do this.

      There is one thing that you may need to work out, and that is the height of the rows. I used min-height below to define the minimum, I'll probably be adding a height definition too in order to constrain the height, and at least force the rows to be be same height (note: rows in this context is really referring to cells). This works fine, but it's a little too "loose" to use as a global style. You'll probably have to override some of the defaults below using the cascade for specific tables.

      .TableContainer table.tester tr{
      float: left;
      }
      .TableContainer .tester tr th{
      display: block;
      min-height: 25px;
      }
      .TableContainer .tester tr td{
      display: block;
      min-height: 25px;
      }

       

Log in to post a comment.