为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I change the compatibility view so that my words are not running off the page?

  • 2 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 cor-el

more options

I do data entry and in the system I am working on the words are running off the page. In internet explorer there is a little broken page on the tool bar that lets you change the compatibility and I am not finding anything like that with firefox. Please advise how I can change the setting so that the words will wrap correctly.

I do data entry and in the system I am working on the words are running off the page. In internet explorer there is a little broken page on the tool bar that lets you change the compatibility and I am not finding anything like that with firefox. Please advise how I can change the setting so that the words will wrap correctly.

所有回复 (2)

more options

As far as I know, Firefox doesn't have a similar compatibility feature.

I assume this system is not accessible to forum volunteers, so I'm going to ask you to do a little sleuthing. I assume you are entering text in a multi-line textbox (an HTML <textarea> control). Could you do the following:

  • Have your text entry form open in one tab, and a reply to this thread in another tab.
  • Right-click in the control that doesn't wrap and choose Inspect Element. A small pane should open with part of the HTML highlighted in blue.
  • Right-click the highlighted <textarea> tag and choose Copy Outer HTML.
  • In your reply tab, paste the HTML, and remove the leading < character to avoid messing up your post. This will show any legacy settings on the tag that might be affecting how it wraps.

Here's an example using this very box:

textarea style="width: 567px; height: 616px;" rows="10" name="content" required="required" placeholder="Enter your reply here." cols="40" id="id_content"></textarea>

If it's not a textarea, then that would be useful to know as well.

  • Back in your form, you may or may not have a pane to the right that shows various style rules. If not, click the Style button at the lower right to open it. Look for any rules with the white-space property (the properties normally appear in colored text). If you find one, right-click and choose Copy declaration line. Switch back to this tab and paste the rule.

With that information, hopefully we can find a workaround.

more options

Note that having increased the minimum font size can cause issues in some situations

If you have increased the minimum font size then try the default setting "none" in case the current setting is causing problems.

  • Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)

Make sure that you allow websites to choose their fonts.

  • Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"

Can you attach a screenshot to show your problem with text running off the page?

Use a compressed image type like PNG or JPG to save the screenshot.