Hi there johnsmith153,
how do you expect us to test code in IE7.
I have two test computers, the old one has Windows XP and IE8, the new Windows 7 and IE9.
To test in IE7 I would need to uninstall IE8, which would probably leave me with IE6, and then install updates to get IE7.
You say that the code works OK in IE8, so why worry about those who could not be bothered to update their browsers.
coothead