daily links

  • * { box-sizing: border-box } FTW « Paul Irish
    Anyway, I have a recommendation for your CSS going forward:
    /* apply a natural box layout model to all elements */
    * { -moz-box-sizing: border-box; box-sizing: border-box; }
    This gives you the box model you want. Applies it to all elements. Turns out many browsers already use border-box for a lot of form elements (which is why inputs and textareas look diff at width:100%;) But applying this to all elements is safe and wise.
 

bvt