As a web developer, one of the things I struggle with is keeping my CSS files from becoming a complete disaster. I’m sure that some of you reading this share my pain. A couple days ago, I ran across a post by Emil Stenström about what he calls the Tree Method.
Overall, it seems to make a lot of sense. The only thing I might object to is organizing properties alphabetically. Grouping related properties makes more sense to me, even though it often means I’m not totally consistent with how I order them.
So, I ask those of you who are good with CSS (I know that at least one of you are): Would you recommend this method? What would you tweak to make it better? Do you have another method that you feel is better?