I have been working on a way to validate my form after going through the process of getting php to process it. I am at a crossroad as it will not display the background color or border that I ask it to show. The validation is only on my home page so far at the bottom as I am trying to get it right before I move on to the other pages.

http://re5310.aisites.com/index.html

If I remove all the other code then the validation works leading me to believe that something is over riding the code that shows the validation colors. If not I am at a loss. I don't want to use dreamweavers spry widgets as this doesn't teach me anything. Please help