Mozilla 도움말 검색

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

Learn More

embeded pdfs work in chrome but not firefox

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

more options

in my html code I use <embed src="EnglishFiles/<?php echo $Fname; ?>#toolbar=0&navpanes=0&view=fit" type="application/pdf" width="100%" height="800px"> and it works great in Chrome, and it used to work in Firefox, but something changed in Firefox, maybe that most recent update? That code still works in Chrome but not in FF 70.0.1(64) What happens when I click on the link in FF is absolutely nothing, no response of any kind. In Chrome the pdf loads in the subwindow as expected. I have restarted in safe mode, same results, manually disabled all plugins, same results.

in my html code I use <embed src="EnglishFiles/<?php echo $Fname; ?>#toolbar=0&navpanes=0&view=fit" type="application/pdf" width="100%" height="800px" /> and it works great in Chrome, and it used to work in Firefox, but something changed in Firefox, maybe that most recent update? That code still works in Chrome but not in FF 70.0.1(64) What happens when I click on the link in FF is absolutely nothing, no response of any kind. In Chrome the pdf loads in the subwindow as expected. I have restarted in safe mode, same results, manually disabled all plugins, same results.

모든 댓글 (1)

more options

What code gets generated and is send by the server after the PHP code has been processed ?

Is the file send by the server as "application/pdf" ?

Any messages in the Web Console related to this issue?

Did you check the embed container this in the Inspector?

Note that width::100% only works properly when all parent containers have a width set, otherwise 100% of null is null and you won't see anything.

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?