align=center

 D Stress 1 0 E - - - Angrycomputer

Sometimes it's the simple things that escape our attention. I actually spent my day today converting someone else's PHP templates into Rails views. Everything was going pretty smooth except that there was the occasional element in the new template that didn't line up with the others and just looked odd.

I didn't think too much of it at first because the CSS styles that came with the template were using Float's like they were candy pouring out of a freshly crushed pinata. However as the day progressed and I removed (read fixed) more and more of the CSS styles without seeing those elements pop into place - I began to be a little perplexed.

Ten minutes later I realize that dingle-dorfs have also been shoving inline styles randomly into the some of the areas of the template I wasn't paying attention to in my haste to convert all 35 of them. One project wide find and replace all "align=center" with "" and suddenly my pages snapped back into place.

I swear somedays looking at other peoples code makes me want to rip my own eyeballs out.