Click to return to the Microsoft FrontPage home page    
Web Workshop  |  Languages & Development Tools  |  Microsoft FrontPage

Making Form Text Fields Wrap in Navigator


Quick Tips provided by Inside Microsoft FrontPage, a ZD Journals publication. Click here for a free issue Non-MS link. To receive the Tip of the Week in e-mail, click here Non-MS link.

With text boxes in forms or discussion forums, there's a key difference in the way Microsoft Internet Explorer handles text entry from the way Netscape handles it. Whereas IE automatically wraps the text inside a text box, Netscape's text simply runs off the edge without wrapping.

Fortunately, there's an easy solution. First, create the text box using Frontpage Editor. Then, click the HTML tab to switch to HTML view. As part of the coding for the textbox, you should see something like this:


<textarea rows="12" name="Contact"
        cols="8" ></textarea>

To ensure that text will wrap correctly in Netscape, type


wrap="virtual"

directly into the HTML coding. It should look like this:


<textarea rows="12" name="Contact"
        cols="8" wrap="virtual">

Now the text will wrap correctly in both browsers.



Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.