this is my css. It is working fine in firefox but not working in IE.
position: fixed; width: 400px; height: 280px; margin-left: -200px; margin-top: -140px; top: 50%; left: 50%; background-color: #ccc;
How to solve this?
You're trying to center the element both horizontally and vertically?
It's working in my IE8 and IE7, and if you set it to
position:absolute; instead of
position:fixed; it works in IE6 too. It looks identical to Firefox..?
What is the exact problem you are seeing?