CSS Widths and the Box Model in jQuery 1.8

Now as we get the width of an element, jQuery will detect which box model we are using, although it does slow up the getting a lot. To keep it fast use .css('width') rather than .width() and it will just grab whichever width the css is using. A nice alternative

Embedded Link

jQuery Blog » jQuery 1.8 box-sizing: width(), css(“width”), and outerWidth()
One of the great new features in jQuery 1.8 is a built-in understanding of box-sizing: border-box which is supported by every modern browser. (Sorry, IE6 and IE7, please take one step back; I said mod…