If I put the IE8 browser in quirks mode, it wraps at the whitespace, but if
it's in "IE8 Standards Mode", then the
wrapping occurs in the middle of words.

I tried looking at the "msWordWrap" style attribute, but chaning it to
"'break-word' doesn't seem to make
any difference.

On Tue, Feb 8, 2011 at 9:21 AM, Henry Minsky <[email protected]> wrote:

> I just noticed that when I have a multiline text field, the words are
> wrapped in a yucky way in IE8; they seem to get
> broken not at whitespace boundaries, but at the first letter that goes over
> the right margin.
>
> Example:
>
> <canvas width="100%" height="80%" debug="true">
>     <text name="tview" bgcolor="#cccccc"
>           multiline="true" width="150"
>           fontsize="24"> Continental Crackup Adventure Season Of The
> Witch</text>
> </canvas>
>
> In IE8/DHTML this displays as
>
> Continental
> Crackup Ad
> venture Sea
> son Of The
> Witch
>
> Whereas in FFox or Safari it displays as
>
> Continental
> Crackup
> Adventure
> Season Of
> The Witch
>
> Is there a IE8 CSS setting to control this  word wrap behavior?
>
>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>


-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to