# Safari wordwrapping MADNESS!

**URL:** https://forum.kirupa.com/t/safari-wordwrapping-madness/210103
**Category:** Uncategorized
**Created:** [December 14, 2006, 11:42pm UTC](https://forum.kirupa.com/t/safari-wordwrapping-madness/210103 "2006-12-14T23:42:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![endy](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@endy](https://forum.kirupa.com/u/endy)
#### Post date: [December 14, 2006, 11:42pm UTC](https://forum.kirupa.com/t/safari-wordwrapping-madness/210103/1 "2006-12-14T23:42:05Z")

</div>

Hello!-

So I am trying to get a paragraph of text that is formated with \<pre\> tags to wrap without breaking words in odd places.

Here is the CSS rule I am applying:

```auto

pre{
	white-space: pre; /* CSS2 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap; /* HP printers */
	white-space: -o-pre-wrap; /* Opera 7 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
	}

```

Works find in FF, but Safari is not happy about it.  
Anyone know how to remedy this?

Thanks!
