News for hackers. Stuff that matters.
Re:Less.js will obsolete CSS by KevinMS on Sunday June 20, 2010 @04:33AM (#1446145)
I also have issues with the "box model." Judging by the popularity of grid layout systems like blueprint and 960 I think others also do.

The box model is fine when you just need to "flow" things around things, like text around images, and typical blog designs, but when you develop complicated interfaces it really shows its limitations and costs many hours of frustrating effort.

Re:Less.js will obsolete CSS by noibl on Sunday June 20, 2010 @06:28AM (#1446256)
Not sure if this is what you're referring to, but you can have a box model that includes padding and border in the width using CSS3:

  box-sizing: border-box
with -ms- (IE8), -moz- and -webkit- prefixes.

http://www.quirksmode.org/css/box.html

Re:Less.js will obsolete CSS by KevinMS on Sunday June 20, 2010 @11:16AM (#1446572)
Re:Less.js will obsolete CSS by stan_rogers on Monday June 21, 2010 @10:08AM (#1448812)
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).

Re:Less.js will obsolete CSS by baddox on Sunday June 20, 2010 @01:34PM (#1446823)
Isn't CSS3 supposed to fix that or at least give us another option? I should have specified that I was referring to CSS3.