IE8 has two settings actually: Browser Mode and Document Mode
If I set " BrowserMode = IE8 Compatibility View " then text wraps properly at whitespace breaks If I set "DocumentMode = Quirks mode" or "DocumentMode = IE7 Standards" that also make the text wrap properly It seems like whatever they think "native IE8 mode" is, it likes to wrap text in the middle of words. On Tue, Feb 8, 2011 at 9:42 AM, Henry Minsky <[email protected]> wrote: > 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] > > > -- Henry Minsky Software Architect [email protected]
