Monthly Archives: December 2006

Hyperlink Cues with Favicons

I wanted to extend the concept of hyperlink cues a little. For links that point to external sites, what if, instead of showing a generic ‘external link’ icon, we showed that site’s favicon? View demo Instead of this: or this: … Continue reading

Showing Hyperlink Cues with CSS

I like the little icons next to hyperlinks that signify if that link will take me offsite, open a popup, or link to a file (as opposed to another html page). Here’s how to do it in a way that’s … Continue reading

Baseball Card Image Captions with CSS and JavaScript (Near-Mint)

With my last entry, I discussed how to have the DOM generate text captions for images. Now I’m going to take it further, and with a little pre-drawn blank baseball card in png* format, I’m going to have the DOM … Continue reading

Image Captions Generated with CSS and JavaScript

For a online news article I used to update, one thing we’d always feature is an image of some CEO and present a caption to go with it. I was unsure of the ‘best’ way to display image captions. This … Continue reading

Row Locking with CSS and JavaScript

I was recently asked about the effect used to highlight a table row with a mouse click. This is different than highlights while hovering, as the clicked row should stay highlighted until clicked again. To differentiate this effect from ‘row … Continue reading

The CSS Guy Facts

Chuck Norris became a living legend the day Chuck Norris facts hit the Internet. Maybe if I start a list of larger-than-life ‘facts’ about my xhtml and css prowess, I’ll become one, too, and possibly be a story book hero … Continue reading

What’s with the candy apples?

When creating this blog, I imagined to get CSS questions directed to me. The main question I’ve gotten so far is, “What’s with the candy apples?” I guess if you’re going to ask the CSS guy a question, I better … Continue reading

Keeping CSS file sizes lean for practicality and sport

One of the benefits touted by separating style from structure is smaller html file sizes. But with many sites, the accompanying CSS file(s) can offset the savings in size, with CSS declarations that can quickly add up. Doug Bowman’s site, … Continue reading