Corrected behavior of text element for Mozilla and IE browsers