Hacker News new | past | comments | ask | show | jobs | submit login

Right CSS version, wrong module: http://www.w3.org/TR/css3-ui/#box-sizing

The CSS3 UI module is a candidate recommendation. Setting:

box-sizing: border-box;

essentially puts the CSS box model render mode to where it was in IE5 (which is, frankly, the only sensible way to do it). Right now, it is available with Mozilla, Webkit and Microsoft prefixes (as are most of the UI module properties).




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

Search: