WordPress: Customize CSS if the Post Published Today

I’ve been wanting to add the little calendar graphics to my posts for a while now. I wrote two classes for the date div and set the background image differently based on whether or not the post was written today. Thanks to Michael H in the WordPress Support Forums, I finally got my statement correct! Here’s what I did. I have a background image set for the div class date: <div class=”the_date”> For today’s div,

CSS Style for Code on your Blog

A nice post on how to dress up displaying code on your blog or website using Cascading Style Sheets (CSS).