Replace wrap CSS property with one that also works in Firefox, and add CSS property to preserve white space and line breaks