Tweak style and firefox compatibility