This is to tell you, Paul, that I have resolved my problem and to thank you for:
1.The time you spent helping me
2.The way you pushed me to trouble-shoot systematically - I learned something important from that.
3.The tip you gave me about the ie problem with sizzle.js. It wasn’t part of this problem but I found that it stopped IE8 rendering cufón - IE7 was fine.
I didn’t in fact pinpoint the IE return to anchor from form problem but I found IE performed better when I put the right-float right column ahead of the left-float left column in the markup, and moved the php processing code before the doc declaration.
BUT that didn’t fully resolve the issue. So, I have put a goToAnchor script in the head, a $fmposting variable at the end of my php processing code, and a php conditional onload statement in the body tag. That now works very nicely, and if javascript is disabled, the return to anchor still works very well in the other browsers and at least not as badly in IE.
Here’s the stuff, in case it’s useful to anyone else, and in case you might see a way of improving it!
Script in Head:
<script type=“text/javascript”>
function goToAnchor() {
window.location.hash=“#contactfm”;
}
</script>
Conditional code in Body Tag:
<body id=“top” <?php if ($fmposted==true) {echo ‘onload=“goToAnchor()”;’;} ?> >
And, of course, $fmposted is set right to true at the end of my php posting code above the doc declaration, regardless of whether the message was sent or there was an error.
With best wishes,
Peter