Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

OS X Firefox renders incorrectly a page rendered correctly by Safari

  • 6 답장
  • 4 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

In OS X 10.9.5, Firefox 41.0.1 renders the page "http://grayspapayanyc.com/contact" as shown in the screen capture, whereas Safari 9.0 renders it correctly as shown in the other screen capture.

Any ideas? Thanks.

In OS X 10.9.5, Firefox 41.0.1 renders the page "http://grayspapayanyc.com/contact" as shown in the screen capture, whereas Safari 9.0 renders it correctly as shown in the other screen capture. Any ideas? Thanks.
첨부된 스크린샷

선택된 해결법

This is not a bug in Firefox, but other browsers may be more forgiving than Firefox in respect to the missing of a clear rule. Other browser may assume that you want to start the DIV at the start of the line in case floating content is present

You will have to add this CSS rule to the element, either via a style sheet file or via an inline style rule like my screenshot shows. With the clear:both rule the container will be positioned at the start of the line and not immediately where the previous line ends (i.e. possibly at the right end of the page after the last character in that container and this can also depend on the current screen width).

See also:

I check it a bit more thorough and you can add the clear:both rule to this style sheet that you use in line 2077. The container I used before is created by the Google recaptcha script, so you need to go up a bit more.

#captcha { margin-left:70px; clear:both; }
문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (6)

more options
more options

That is because of a missing clear:both CSS rule that makes Firefox position the container where the container before it ended.

more options

Thanks for you responses.

Concerning Java (FredMcD's suggestion): I don't have Java installed. It isn't necessary for Safari, and I don't think that Firefox depends on it. JavaScript is enabled in both browsers.

Concerning cor-el's response: This is over my head technically but seems to indicate a bug in Firefox. If that is the case, what can I do to inform Mozilla?

Many thanks.

more options

선택된 해결법

This is not a bug in Firefox, but other browsers may be more forgiving than Firefox in respect to the missing of a clear rule. Other browser may assume that you want to start the DIV at the start of the line in case floating content is present

You will have to add this CSS rule to the element, either via a style sheet file or via an inline style rule like my screenshot shows. With the clear:both rule the container will be positioned at the start of the line and not immediately where the previous line ends (i.e. possibly at the right end of the page after the last character in that container and this can also depend on the current screen width).

See also:

I check it a bit more thorough and you can add the clear:both rule to this style sheet that you use in line 2077. The container I used before is created by the Google recaptcha script, so you need to go up a bit more.

#captcha { margin-left:70px; clear:both; }
more options

Thank you very much for your diligence. I'm afraid I must have given the impression that I was in some way responsible for the website in question, which is not the case. I just wanted to know if a bug in Firefox was involved or not and, if so, to point it out.

more options

You can contact the website and ask them to look into this issue with Firefox.