Search code examples
htmlpdfadobeacrobatadobe-contribute

HTML links are displaying PDFs differently?


I am using Adobe Contribute (HTML editor) to edit a website. I have two links on my page that both link to the same PDF file type. However, when the links are clicked they are displaying the PDF differently in IE (the issues does not occur in Chrome): One with the PDF tools and thumbnail sidebar, and the other just as a plain PDF file by itself.

One looks like this: enter image description here

The other looks like this: enter image description here

Here is the HTML code:

<p style="margin-top: 0; margin-bottom: 0;"><strong>DATE 1 HERE</strong></p>
<p style="margin-top: 0; margin-bottom: 0;"><a href="documents/file1.pdf">FILE NAME LINK</a></p>
<p style="margin-top: 0; margin-bottom: 0;"><strong>DATE 2 HERE</strong></p>
<p style="margin-top: 0; margin-bottom: 0;"><a href="documents/File2.PDF">FILE NAME LINK 2</a></p>

What I need is for them both to look like the second one. Any ideas as to what might be causing them to come up differently?


Solution

  • Turns out that it was a setting within the PDF itself that I needed to change. The following settings fixed my issue.

    1. Go to File>Properties
    2. In the Document Properties window, select the Initial View tab
    3. In the Document Properties window, choose "page only" for Page layout, and check the "hide toolbars" box.
    4. In the Document Properties window, click the OK button
    5. Go to File>Save
    6. Reopen the document