I am trying to dynamically access the width of an element through jQuery using .width(). In developer tools I can see element's width as 37.333Px, where as .width() gives 38.33334Px.
Width in developer tools
Width from .width()
In this situation difference is of 1px, but sometimes it difference is in decimals. Why there is a such difference? Where am I going wrong? Is there any other to get exact width.



