Hi there prak,
and a warm welcome to these forums.
Your coding method is incorrect.

You should always code in a modern compliant browser - (Opera, Safari or Firefox) - and then tweak the code to work in IE.
Post a link to the site in question and someone here will, I am sure, assess or even cure the problem for you.