I have a div that contains an object "linked" to a .pdf file.
Is it possible to customize the scrollbar style using CSS or JavaScript/jQuery?
<div id="container">
<object data="document.pdf" type="application/pdf" width="100%" height="100%">
</object>
</div>
Another question: I attempted to pass data object this way:
<object data="document.pdf#view=Fit" type="application/pdf" width="100%" height="100%">
</object>
However, the PDF does not fit into the div. What am I doing wrong?
Edit
Starting with a simpler example, I tried to hide the scrollbar following this document, using this code fiddle.
Unfortunately, it did not work.
Could the issue be related to the browser? I am currently using Chrome on Ubuntu.