Used jQuery's Width() instead of client style for better cross-browser support. Also cut the padding problem out.