when i use element.style.left = 1.6px; this only sets property to 1. Not 1.6px. Which is not right. Is there a way to do this correctly.
Only i can think of is add new stylesheet to the whole body and delete the old one...seems like too much though.
'1.6px';div.wrap- jsfiddle.net/easwee/bssnY - you will see that it computes to301.5pxand renders as302pxon screen (because of rounding). Decimals DO sum up AND rounding occurs at render.302px" because there's no such thing as a partial pixel :) I did not state you couldn't specify partial pixels. You can. They just don't actually exist.