Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The main problem I have is links. The printing to PDF doesn't care about <a> links. It will linkify anything that looks like a URL or an email address, but that means that I have to have JS put the url in, plus it's ugly to have the urls there at all.


Not sure I understood you correctly, but have you tried using css?

  <style type="text/css" media="print">
    a:link, a:visited {
      color: black;
      text-decoration: none;
    }

    a:link:after, a:visited:after {
      content: " (" attr(href) ") ";
    }
  </style>


Wow. It does? That sucks.

As far as links go, I already treat the resume like a print document; all the URLs are written out explicitly, have their own lines where appropriate. (I guess that's why I haven't run into the problem yet.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: