Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've updated my CV with some flashy illustrative elements that I've positioned using absolute positioning in CSS. Now I want to print/export the site as a PDF. The problem is that all absolute positioned images loses their positioning attributes when I print it.

I've searched around for a solution, tried various PDF print plugins for firefox, changing the media type in the CSS to "all"... but still no success.

Does anyone know of a solution that would do what I want? The only alternative I can think of is to distribute my CV as a HTML file but I would like to avoid that if I can (from experience I know that some recruiters are a bit conservative when it comes to formats...)

share|improve this question
Have you tried a free PDF printer, such as this one? – Karan Mar 14 '13 at 1:49
I have the same issue. I have my CV all setup in HTML and styled how I want it with CSS but I cannot find a way to export it to PDF without the styling being changed. Have you found a solution? – webworm Jun 2 '15 at 12:55
@webworm hmm.. don't think I did. As I recall I reverted back to saving it as a PNG, and turned the PNG into a PDF. So unfortunately no luck. I would suggest if you have a CV as a web document that you upload it to a free hosting service and then link to it in your applications. One upside with that is that you don't have to worry about the document size (at least not the 25 Mb limited to most SP's) plus you can assure that everyone always have access to your latest version. – AndroidHustle Jun 4 '15 at 13:09

I have tried wkhtmltopdf. I was really satisfied with it.

It uses the webkit rendering engine that renders the html so as to export under pdf.

My final pdf was really close to the original html.

However I have not tested absolute coordinates.

share|improve this answer
Thanks a lot for the tip! Only problem is that I don't seem to figure out how to run it... I've tried downloading the installer and installing it, however running the installed program doesn't seem to do anything, I've downloaded the Windows Static Library, however I can't figure out how to run that either. Do you have any guiding for me perhaps...? – AndroidHustle Mar 13 '13 at 17:53
I found some step by step guide in the wiki, I'll get back to you! – AndroidHustle Mar 13 '13 at 17:55
you have to launch it by hand in the command console. cmd.exe. – Stephane Rolland Mar 13 '13 at 17:55
yea thanks, I've come that far. problem is though that the website is a local HTML file and it's not hosted. I can't seem to find if that's supported or not. – AndroidHustle Mar 13 '13 at 18:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .