www.webdeveloper.com
Results 1 to 3 of 3

Thread: Safari and links to documents

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Posts
    5

    Safari and links to documents

    <a href='./documents/somedocument.pdf' >

    I am testing on IE, Firefox, Opera and Safari for Windows.

    Links like the above work fine except in Safari where I have a universal 404

    I've tried removing spaces from the document name and checked that the cases match but still Safari says "File not on this server".

    Any ideas?

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    Try
    Code:
    <a href='documents/somedocument.pdf' type='application/pdf'>
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Dec 2010
    Posts
    5

    safari and pdf

    Thanks for the reply, but it hasn't made any difference. It still says that the file is not on this server.

    Tried putting the full http://domain/documents/somedocument.pdf but that didn't work either.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles