Javascript and Firefox Posted on November 21, 2008 by Paul Bagosy Remember, folks, if you’re looking to affect an element’s height or width with JavaScript, you have to add “px” to the end if you want it to work in Firefox.