decorative banner

Controlling text flow on a page


    You can control how text flows by inserting line break (<br>) or nobreak (<nobr>) elements at the end of the lines in a paragraph. For example, when you want a line to break at a particular word, you can use the line break element to force all browsers to break the line there regardless of the size of the browser window. When you want to keep two words together and never break them up regardless of the size of the window, use nobreak elements.

    You can use the clear attribute together with the line break element to cause a broken line to clear an image before it continues on in the text flow.

    Also, by using line break elements, you can control the spacing between paragraphs rather than letting Web browsers determine how much space is needed.

To insert the nobreak element:

  1. Select the words in the paragraph that you want to keep on the same line.
  2. Choose Type > Nobreak.

To insert the line break element:

    Do one of the following:

    • Click in the line, and press Shift+Enter or Shift+Return.
    • Drag the Line Break icon from the Basic set in the Objects palette to the line, or double-click the icon to insert the line break at the insertion point.
    Illustration of text in a page: The line breaks at the same position regardless of browser window size. Callouts include: A. Line break marker, and B. Line Break icon.
    The line breaks at the same position regardless of browser window size. A. Line break marker B. Line Break icon

To control how text breaks after an object in the line:

  1. Select the line break marker.
  2. In the Line Break Inspector, select Clear and choose an option from the pop-up menu:
    • All to move the text after the line break to the bottom of any object in the line.
    • Left to move the text after the line break to the bottom of a left-aligned object.
    • Right to move the text after the line break to the bottom of a right-aligned object.

    Note: When wrapping text around an object inside a floating box, the object must be left-aligned or right-aligned for the Clear attribute to work as expected in the HTML text flow.