Hacker Newsnew | past | comments | ask | show | jobs | submit | xFFEE's commentslogin

You miss the part of tables. It is until today the only really reliable way to center a div box horizontally and vertically:

      <html>
        <head>
          <title>Vertical Alignment</title>
          <style type="text/css">
            html, body, bodytable { height: 100%; }
            bodytablerow { vertical-align: center; }
            bodytablecell { text-align: center; }
            content { 
              text-align: auto;
              width: 100px; height: 100px
            }
          </style>
        </head>
        <body><table id="bodytable">
          <tr id="bodytablerow">
            <td id="bodytablecell">
              <div id="content">
blabla

              </div>
            </td>
          </tr>
        </table></body></html>


Not 2014. It was 2001.

When Americans broke theirselves, because of being unable to make anything but guns. And war.

They (You?) broke their own freedom, because of guns, and making money in wars.

Try something else, something new.


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

Search: