Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Flex is great but tables are also a natural solution for anything grid-based, which of course layouts almost always are. The whole internet used to do stuff like this before the structural flow of content became important:

    <table width="100%" height="100%">
      <tr>
        <td colspan="2" height="50">  header  </td>
      </tr>
      <tr>
        <td width="200" valign="top">  sidebar  </td>
        <td valign="middle">  content  </td>
      </tr>
    </table>


GP is also wrong anyway, CSS Flex is the wrong thing for creating layouts like this. We now have CSS Grid, which is the actual replacement for table-based layouts (which were used more recently than people like to admit because of Flex not working for two-dimensional layouts).


Sorry, I often conflate flex and grid, they occupy the same spot in my mind as “1 dimensional” and “2 dimensional” versions of the same underlying thing. I am wrong.


Bring back the 90's. ;) The memories of spacer gifs...


I still find myself missing Macromedia Fireworks on occasion!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: