Making a résumé in Microsoft Word felt really generic and boring to me. I tried LaTeX with mixed results, and then I realized that I already know a markup language: HTML. An example of an HTML/CSS résumé that we will cover in this post can be seen here, as a shameless plug for my own résumé.
Setting up your page
You may be thinking at this point, html isn’t for making documents. If you have seen my previous post, Dynamically Generating a Word Document; PHP Flash Card Generator, you would already know that there are methods in HTML/CSS to format a document for printing.
Let’s make some decisions about the formatting of my page. I am going to be printing on letter paper which is 8.5in x 11in, and I want half inch margins. When viewing the page on the computer, I want it to be over a non-plain dark background. When printing the page out, I want it to only display the content, not any of the background.
I’m going to start out with a blank style.css very basic HTML skeleton index.html, shown below:
The very first thing I am going to do in the stylesheet is give it the instructions to print at the correct size. I’ve found through my research that browsers generally have bad printing support, so it is a bit different in every browser. My suggestion is to make it so that it shows well in every browser, and prints best in a browser of your choice. I chose to style for chrome, because not only is it one of the most popular browsers but it has a print to PDF option so I can distribute it as a PDF as well. This is a basic stylesheet I’ve made, which I’ve found the dimensions fit best with printing on chrome:
This is what the page we just made looks like: http://www.mvartan.com/resume-test/
At this point, we have a web page that prints only the content in our ‘page’, so our goal is met. Now you can apply all of the web design knowledge you already know to carefully design your résumé. Feel free to use my own résumé as a template if you aren’t up for designing it all yourself. If you are successful with it, please let me know I’d love to know I helped someone.
Once again for reference, here’s my final result: http://www.mvartan.com/resume/