After more debugging, I finally tracked down the problem, and it looks
like there's already a ticket raised with Prototype to fix this in
IE8:
https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/618-getoffsetparent-returns-body-for-new-hidden-elements-in-ie8-final#ticket-618-9
Hi David,
It's the bog-standard way of centring content using CSS - in fact,
it's probably used by 99% of web developers, it's that 'standard'.
Given that, surely prototype and/or scriptaculous should be able to
work with this technique?
Dan
On Jun 21, 11:04 pm, david
Thanks for sticking with this, David...
Remember that it works in IE 6 and IE 7, just not in IE 8. It also
works in all other browsers which are 'standards compliant', so it's
definitely an IE 8-only issue. Therefore it's probably something new
that hasn't been catered for by either Prototype
I'm having difficulty in getting the drop-down portion of the
Autocompleter control to display in the correct place in IE8.
It doesn't seem to matter whether I use the Ajax or Local
autocompleter controls, so have posted the test harness here with a
Local one. This works fine under IE7 and Fx