There are plenty of opinions about organizing markup, but the W3C is the predominant authority in such matters. When referring to the proper position of script tags, the latest W3C content is a bit vague.

Where does the tag go?

Here are some CSS media queries useful for targeting various iPhones. (more…)

Another small performance gain that designers and developers should employ is specifying their image width and height. This article explains why setting the dimensions of your images helps you and the theory behind it. See the best practice.

Players can lose their Predator bow permanently due to a glitch in the game. See the bug.

Popovers are useful for tooltips, notes, or other short messages. Bootstrap does a good job of its native popover tooltip, but needs a bit of help to work with a mobile device (since they don’t have hover). Cover all your bases

Embedding PDFs or other content into websites and web apps has become commonplace. Inevitably you will want to have menus that drop down over those PDFs or have some other element that can overlay the iframe that you place the PDF in.

Most browsers understand this desire and are happy to accommodate. Unfortunately, Internet Explorer in its many versions still does not handle this. Get the easy fix

Turbotax has changed their discounts for 2014 (2013 tax returns). Instead of the traditional 35% off label, Intuit is now offering a tiered discount of $10, $15, and $20 on their TurboTax online products.

Get your discount link.

When using JSLint or JSHint, you will get the "Missing radix parameter" error when using parseInt without a second argument. (more…)

With Twitter Bootstrap modals in either version 2 or 3, you can easily prevent the modal window from being closed with the escape key or by clicking on the black backdrop outside the window. see the code

A problem with WordPress’ built-in picture gallery is that it will include a featured image in the gallery itself if one exists. See the solution