nfw
nfw

Reputation: 4202

My Sharepoint styled header text is breaking words in order to wrap lines. How can I prevent this?

I would like the text to break only on whitespace, as is normally expected. Here is the css that Sharepoint generated for the line:

<span class="Apple-style-span" style="color:rgb(0, 114, 188);font-size:26px;line-height:39px"></span>

Upvotes: 0

Views: 321

Answers (2)

nfw
nfw

Reputation: 4202

The word-wrap and word-break styles were set correctly. I ended up fixing the issue by changing the <span> tag to a <p>.

Upvotes: 0

Marc B
Marc B

Reputation: 360702

Look through the entire css for word-break and word-wrap

Upvotes: 1

Related Questions