I isolated the problem at
http://www.polisource.com/misc/fragm...-bug.html#test (the
page I pointed to in my original post was deleted). The bug occurs when you
set a negative relative top position for the div id you're linking to. The
css position apparently isn't considered for the link, so if you moved things
up, they'll be cut off.