Archived posts, December 2010

Removing title attributes inserted by TextMate’s Hyperlink Helper bundle

How to stop TextMate's Wrap Word / Selection as Link command from automatically downloading the linked page and inserting its title as a title attribute on the link.

Posted on December 7, 2010 in Coding

Conditional and custom next/previous post links in WordPress

By default, WordPress 3.0 will output the containing element for previous/next post links even when there is no previous or next post to link to. But there is an easy fix for this, and it also gives you total control of the markup.

Posted on December 10, 2010 in WordPress

Use uppercase text judiciously

Text set in all uppercase letters may slow readers down and may cause some screen readers to spell words out letter by letter. Use good judgement when capitalising text.

Posted on December 13, 2010 in Usability, Accessibility

How to create a 3-column layout with CSS

A tutorial that explains how to use the CSS float property to create layouts with three or more columns.

Posted on December 16, 2010 in CSS

YUI Compressor and CSS media queries

Older versions of YUI Compressor have a bug that makes some media queries malformed after minifying, causing browsers to skip the rules within. There is a fix though.

Posted on December 20, 2010 in CSS, Coding

Controlling text size in Safari for iOS without disabling user zoom

How to prevent your website from having unreadably small text when it is first loaded in Safari on iOS and how to prevent auto-scaling of text when you change orientation from portrait to landscape on your iPhone/iPod/iPad

Posted on December 21, 2010 in iOS, Usability, CSS

@font-face tip: define font-weight and font-style to keep your CSS simple

When using @font-face with typefaces that have multiple weights and styles it's important to do it correctly, or your CSS will become unwieldy and browsers will have no fallback styles.

Posted on December 22, 2010 in CSS, Typography

Names of WordPress custom post types must be no longer than 20 characters

Names of WordPress Custom Post Types need to be shorter than 20 characters or the "Publish" button will be replaced by a "Submit for Review" button.

Posted on December 23, 2010 in WordPress