-
Recent Posts
- Use of aria-describedby with form elements that have descriptor text
- Getting around the flicker of JavaScript modifying the DOM while the page is loading
- CSS gradients and background images
- Nudging elements with position: relative
- Waqas asks the CSS Guy how to specify an alternate font size if the preferred font isn’t available on the user’s system
Archives
- June 2012
- May 2012
- June 2011
- November 2010
- October 2010
- July 2010
- January 2010
- November 2009
- August 2009
- June 2009
- March 2009
- January 2009
- October 2008
- September 2008
- August 2008
- July 2008
- April 2008
- March 2008
- December 2007
- November 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
Meta
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