I’ve been struggling to make pdf fit horizontally dynamically
https://www.modelica.org/events/modelica2011/authors-guide/example-abstract.pdf#toolbar=0&navpanes=0&scrollbar=0&view=FitH
But it does not work in firefox.
You can see demo here though this demo works properly.
http://jsfiddle.net/raanx/1/
well, there is no way to resolve such browser specific bugs. The pdf viewer works differently in different browser. I would suggest you to go with Javascript PDF viewers available.