I'm going crazy over this. I am at the beginning stages of creating a help system: PHP pages within frames (don't snicker or yell at me) that will be tied into a SQL Server database, eventually.
My problem first appeared when I was using HTML only, so I know this is not a PHP problem.
Firefox, Chrome, and Opera all render the pages perfectly. IE 8, however, is giving me random line-breaks before an <a href> to a same-page link. I mean "random" as in this appears on some pages, but not all; and on the pages it appears, it isn't consistent. I searched this site and others for an answer, and haven't found a satisfactory one.
You can see what I'm talking about if you perform these steps:
1. Go to http://www.rockwrite.com/phpSite2/
2. In the left menu, click on "Navigating TheProduct 3"
3. Scroll down the page, and you will see line breaks before the cross-references for Figure 1 and Figure 2.
However, the HTML looks like this (nothing extraordinary):
<p>The example in <a href="#navm_Fig1">Figure 1</a> shows a content area that displays a page with menu options:</p>
The weird thing is that if you scroll down to the bottom of the left menu and click on the "Additional Setup...." link, you do not see the same problem before the similar cross-reference. Why? How do I stop this? Is it an IE hack? I've tried some, but to no avail (and forgive the ambiguity, but I forget the ones I've tried).
I even thought to check the page encoding, but that's not the issue. Somebody help me; I'm going nuts!