By default, if a post is set to visibility: Private, or Password Protected, the word “Private:” or “Protected:” is prepended to the title. With a simple google search I found a code snippet that worked in replacing those words with nothing, or if I so choose, anything I li…
Today a client asked if all the links on his site could open in a new window. I solved that problem with jQuery, and here’s how: <script type="text/javascript" charset="utf-8"> jQuery(document).ready(function() { jQuery("a").filter(function() { return this.hostname &&a…
I make websites for a living. I also make websites for fun, either way it’s what I do. When I’m making a 2-column layout, I always float the first left, and the second right. Why? Because I can avoid using too much margin and breaking the site in IE6, due to the notorious float margins bug. I d…
What is up with this? I really hate IE6, but this is so incredibly stupid that you have to do this. The problem is that if you have an absolutely positioned item next to a floated item, the absolutely positioned item mysteriously disappears. I spent a half-hour working on this before finding a resource…
It should be said here that there is a newer version of this bundle. The following version of the bundle has a few snippets that have errors. If this helps you, then good. I put a WordPress Textmate bundle I use for work on my If you use Textmate, just download, then double click to install. It’s not…
Here I’m describing how to get your layers together quickly in Photoshop. 1. Select the items you want Hold CTRL (PC) or Command (Mac) and click on the layer titles you want to be next to each other (clicking the layer thumbnail will only select the layer, and you don’t want that). 2. Shift…
If you’re not a web guy…skip on to another post, ’cause this will be boring, but for me it’s exciting. Here’s the bottom line. If you want to easily incorporate SIFR into your wordpress site, use the following: WP-sIFR Plugin + dafont.com TTF + sIFR Generator = Sweet…
I recently read the book “CSS Mastery: Advanced Web Standards Solutions” which I highly reccommend to anyone who uses CSS extensively. In the book it lists not just what you can do, but how to do it right. One selector that I read about in the book and implemented last week was the [att$=va…
Most bloggers have their favorite articles they’ve written. And while these may not be the most commented or most linked to, they are the best in displaying what the blogger writes about and his expertise. So what’s the best way to highlight these in a list on the home page or sidebar? One…