Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Running Lion 10.7.4

The .php and .txt extension have a preview of the content in Finder.


But not the .css.


Is there a sudo magic for enabling this?

share|improve this question

This the icon generation is dependant on the associated app for that file type, so associating .css files to TextEdit might get them to be treated as plain text in the icons. It's worth a shot, I guess.

share|improve this answer
Nope, it just displays a blank document icon. By any chance, what does it displays in yours? – brasofilo Jul 13 '12 at 13:42
Forgot to mention, even if this worked, wouldn't be a solution as I want to keep TextMate as the default editor... Could this be a TM issue? – brasofilo Jul 13 '12 at 15:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.