OWASP has some good tips on escaping untrusted CSS that you might consider.
I recommend offering users some general appearance preferences (font size, style and color, etc.) rather than giving them carte blanche. The advantage of this is that it becomes more accessible to less technical users, and also leads to fewer likely technical support requests (do not forget to enable the “reset styles” button so that they can cancel their changes without sending you an email )
, CSS , , , , , , ; (, tumblr), .