Use "parseFloat" instead of "parseInt" for when sub-pixel css values are used