My CSS rule looks like this:
#my-div{ display: none; position: absolute; left: -160px; bottom: -150px
Maybe you have to call your functions after document ready.
If you use jQuery you can find left value faster:
$(document).ready(function() { var $left = $('#my-div').css('left'); console.log($left); });