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

How have I lived without calc() for all this time?....



The true question is, why were we forced to stop IE's box model which was great and made sense to only now have a half-available box-sizing: border-box attr.


No kidding. The nightmare I went through trying to make a fluid CSS layout with more than one column. My god! The time I wasted! Arg!!!!!


Then again, ideally fluid layouts with multiple columns would use (ta-daaa) columns: http://caniuse.com/#feat=multicolumn


thats the same question i asked me right now too :D

always these problems with width and 100% - i def. give it a try in the next project!!


You likely want to use box-sizing: border-box instead, it's simpler and more efficient: http://paulirish.com/2012/box-sizing-border-box-ftw/


Yep exactly, this is making my layouts a lot easier lately.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: