Category: Web

  • Fonts. What and where.

    Found a great little font “cheat sheet” I’m going to leave it here, else I’ll never remember where I found it!

  • Vertically aligning elements

    For a long time I’ve always been using the following method of vertically aligning elements on a web page: [css].parent{ display: table; width: 100%; } .child{ display: table-cell; text-align: center; vertical-align: middle; } [/css] This method works good across all browsers and includes solid IE support down to IE7. The downfall of this particular method…

  • Element height based on viewport height

    Today I had to create a little landing page for one of our clients. one of the requirements was to have the landing page fill the screen no matter what height the viewport was. So this would fill the space up on a desktop, iPad for example. I stumbled across a handy piece of jQquery…