Working with text strings, is there anyway I can get text to wrap within a box that has height and width?
add another style: "word-wrap": "break-word"
Hey Andreas, good point! I added that just now, although it seems to ignore it. Does a string of text render as a graphic, or is it actual text that can be inspected in the DOM?
EDIT: Maybe I can just insert hard breaks somehow?
does backslash n work? I haven't tried it but that works in common JS based platforms
Hi Ken, thanks for that. Unfortunately, it didn't work.
I think you want boxTitle.html = "Which Game of Th..."
Jordan Ah thanks, that did it! :)