How do i make text wrap to fit a window?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcelrob5
    New Member
    • Jun 2010
    • 19

    How do i make text wrap to fit a window?

    I have an application that opens new windows and right now the windows re-size and have scroll bars to see all of the text.

    I was wondering if there is a way to make the text wrap or auto-format itself so that it doesn't require a horizontal scroll bar or need to re-size the window. Like how a Wikipedia page will reformat when you re-size the window.

    Can anyone help me out?
  • YarrOfDoom
    Recognized Expert Top Contributor
    • Aug 2007
    • 1243

    #2
    You can try defining the width of the elements in the new windows in percentages instead of pixels, that way their width will be relative to the width of the browser window.

    That is assuming you have any control over the source of what will be in those new windows.

    Comment

    Working...