It's tough to argue the advantages of simplifying your HTML markup: Easier for search engines to parse Easier for browsers to render Easier to read,…
CSS text stroke
While webkit browsers have native CSS support for text stroke, you'll have better cross-browser compatibility if you use the text-shadow style appropriately. The following CSS…
IE 7 z-index bug – drop-down menus
If you've struggled to figure out why your drop down menus are showing behind other content, you may have come across the IE 7 z-index…
WordPress – reducing comment SPAM
There are a few steps you can take to reduce the amount of SPAM comments submitted to your WordPress posts and pages. You can pick…
ColdFusion Facebook – unsupported post request
I've you've searched other posts, they've not doubt recommended that you URL Encode your parameters, put the access token in a <cfhttpparam>, specify a content…
MySQL – Query last months data
You can query last months data without involving your scripting language to manipulate dates. Using MySQL's built in date subtraction methods, this is made simple…
Facebook like image thumbnail
If you offer a facebook like button on your site, you may have noticed that Facebook chooses a random image from your site as the…
Clear both puts content below all floated content
If you have a left-floated navigation bar, and a main content column, you may notice that when "clear: both;" any content within the main content…
jQuery to “link” labels with checkboxes
If you generate checkboxes and labels dynamically, or just don't feel like assigning ids to all of your checkboxes and corresponding for attributes to all…
ColdFusion dates within common time periods
I've had to do this so many times over the years, for all sorts of different time frames, so I decided to build, document and…