WordPress Coding Techniques : Style Posts Individually
The problem.
Your blog has a lot of posts, but the posts aren’t all of the same type. To give special styling to one or more of your posts, you can take advantage of both the post_class() function and the post ID.
The solution.
To apply this trick, just open your single.php file, find the loop and replace [...]