Richard Grevers wrote:
Hmm, I get the opposite effect (with the standards-mode DTD it selects everything between the cursor and the end of the document!)
I've never looked closely at the wikipedia markup - does it have everything positioned?
Of sorts; the whole page except the sidebar is slapped into a div with this style: #content { position: absolute; top: 0; margin: 0; padding: 0; }
Since there isn't anything else about I don't see as it's strictly necessary. :) Removing the position & top leaves us with a few blank pixels at the top of the screen, but ought not have any ill effects.
I've gone ahead and made the switch. We've got our doctype & DTD back, and with non-absolutely-positioned content, IE's selection bug seems to go away.
So hopefully it won't turn out that there was a good reason for the absolute positioning that I've just broken. ;)
What seems to be happening is that because there is no content in the general flow of the page, the body ends right at the top.
ARRRRGHHHH! That's no excuse not to select text that it's willing to show, though... :)
Layouts where every element is positioned seldom work smoothly, and I'm sure this can be done more tidily by other means.
Yeah, well they *should* work dammit! :)
I'd be happy to investigate but am in the middle of moving house 700km away, so it will be a fortnight before I can get to it.
Well, hopefully it's in hand... good luck moving!
-- brion vibber (brion @ pobox.com)