Force a file to download when link is clicked

So here’s a simple snippet for when you want to force a download of a file (such as a PDF, .doc etc), when a link is clicked. The default action will open the document in the either the same browser window, or in a new tab/window by using the usual target methods: Open file in … Continued

Full-Width Backgrounds Using CSS Cover

More and more, I see websites with large image backgrounds that completely fill the screen size. I really like these and here’s how to achieve it simply using CSS: That’s it! Obviously you need to change the Div name and background image/path to suit but you’re good to go.