CSS, INPUT, JAVASCRIPT being removed from posts

Somewhere in wordpress or php, the content is being filtered from what I post. This is only in reference to content, not items in templates or plugins

For example if I insert css into a post, some of the css elements seem to be discarded. If I insert javascript, its always discarded as well as form elements.

Any idea on how to control this?