Layout tweaks for Firefox

Firefox seems to need elt.style.paddingTop instead of
elt.style['padding-top'].