As far as I know, there isn't a "real" solution to this problem. Both Excel, Works & OpenOffice treat anything that can be converted to…
CSS borders taller than text
This morning I finally cracked a CSS mystery that has stumped me since I began using CSS! The solution, so obvious. A little background: Inline…
Encoding videos programatically
A free library called FFMpeg makes this possible for us. If you wish to encode to MP4, you'll need the help of the following additional…
Summarizing large amounts of text
There are a few tricks that can be used to summarize a body of text into a paragraph. One of the simplest methods is to…
Counter styling with CSS
Key ingredients Background image, like the above Fixed-width font, like Courier CSS letter-spacing property Ability to zero-pad numbers with your server-side language The HTML <div…
Use CSS to get the 2nd, 3rd, 4th element
There are times where it would be great to apply a given style to the 2nd, 3rd, 4th, etc. element of a parent. This is…
ColdFusion dynamic sitemap
I searched the web this morning in hopes that someone has already written a recursive sitemap generator in ColdFusion. It may be out there, but…
MySQL Duplicate Key issues
So you're doing a bulk import into your MySQL database, knowing that your primary key values are unique. Yet, MySQL throws the Duplicate Key message…
Play button on video thumbnails
Here’s a quick method to add a play button to video thumbnails. This is useful when you generate dynamic thumbnails for videos, or grab them…
Vertically center a div with jQuery
$('.vcenter').each(function() { $(this).css('margin-top', (parseInt($(this).parent().css('height')) – parseInt($(this).css('height'))) / 2); });