Numbering In Style Read on! →

Dec 5 2011

Chances are if you want to number things in order on a website, the ordered list (<ol></ol>) is your guy. It also is pretty reasonable that you want to style those numbers. Strangely enough, styling those list numbers isn’t a very easy thing to in CSS. Thankfully it’s also not impossible.

This Site’s Domain is Stolen Read on! →

Dec 2 2011

Hey ya’ll. This is (really) Chris Coyier. I had css-tricks.com registered on GoDaddy. It recently came to my attention that the ownership of this domain has been transferred away from my ownership to PlanetDomain. For now, thankfully the nameservers still point to MediaTemple, so the site is still up. That could change at any time.

I’m going to keep track of all this.

Relevant Dropdowns: Polyfill for Datalist Read on! →

Dec 1 2011

The list attribute / datalist element of HTML5 forms is pretty cool. As you type in a text input, it shows you a dropdown menu of choices you can pick from. Or you can type in whatever you want. The list attribute alone doesn’t lock you into any specific value. In that way, it’s a bit like a group of radio buttons with an “other” type-in option.

The Script Tag Read on! →

Nov 30 2011

I got a great question from reader Josh Kreis:

I’ve noticed that on a <script></script> tag, there are all kinds of variations that all seem to work cross-browser. What is necessary and what isn’t?

On to more articles! →

Latest Snippets

Latest Screencast

#105: Using SpriteCow

In which I take a real example of somewhere I knew using sprites would be a good idea, create the sprite by hand in Photoshop (my preferred method), and then use SpriteCow to help with the exact position values needed to use the individual images. Pseudo elements are also used to help maintain accessibility.

Links from the video: