RsD0p9BK
2/6/2015 - 9:56 AM

floatWidth.js

// Get float width of an element

$("#a")[0].getBoundingClientRect().width
element.getBoundingClientRect

// http://stackoverflow.com/questions/11907514/getting-the-actual-floating-point-width-of-an-element