I have only realised this weekend I have serious OCD when I am coding, examples:
I capitalize all color codes in css e.g.
#FFF instead of #fff
I alphabetize all my css controls e.g.
background-attachment
background-color
background-repeat
color
margin
I indent everything by one space e.g.
div 1
div 2
div 3
end div 3
end div 2
end div 1
I comment on the end tag e.g.
<div id="some-div">
<p>some text</p>
</div><!-- end #some-div -->
I don’t just do this to my code, if I am given someone elses code I will go through it and “fix it”…
What things do you do on your items that others may find OCD?