weird issue with setting positioning on HTMLElements
Posted: Tue Feb 16, 2010 11:12 pm
i [s]am[/s] was having what i considered a weird problem.
i was trying to to set a position like .style.top with an integer or a string containing an integer. it resulted in an empty string being assigned each time. i had to append a unit of measurement.
annoying! but hopfully helpful to someone else.
i was trying to to set a position like .style.top with an integer or a string containing an integer. it resulted in an empty string being assigned each time. i had to append a unit of measurement.
annoying! but hopfully helpful to someone else.