IE6 is CSS anti-social if you know what I mean. A lot of CSS properties it is unable to interpret correctly or not interpreting it at all.
Try your code on IE7 (slightly better than IE6) and see if it works.
Yes I know what you mean. And belive me that I rather didnīt have to make it work for IE6 but I have no choise. My code work fine in FF and IE8, but I donīt have IE7 installed so I canīt test it there.
There is some software available for free download called IE Tester. It can render your code in Ie 5.5, 6, 7, 8 and 9. so is prefect for website testing. As for making this work in IE6. I suggest you create a seperate IE6 stylesheet and JS that works in Ie, simple fix rather than trying to make the code work, it probably wont ever work in them all so just generate different versions.