I put the code into a page and I got a red box with a blue border.. which is what I would expect from that code.
There is not an element with an ID of TextArea1, so that part would be ignored. The next two lines of css give it a blue border and red background.