Solved

IE8 is creating unwanted, random line breaks

Posted on 2011-03-01
4
892 Views
Last Modified: 2013-12-08
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!
0
Comment
Question by:Rockwrite
4 Comments
 
LVL 6

Accepted Solution

by:
ezskol earned 250 total points
ID: 35014289
Does it work with compatibility view on?  Try resetting or restoring the settings in Internet Option, under Advance Settings.

It might also be the addons you have in IE8?  

0
 

Author Comment

by:Rockwrite
ID: 35014373
Thank you, ezskol, that did the trick! Wow, that was simple . . .

I'm not sure I'll take the time to see if it's any of my add-ons in IE8.  I don't think I have anything out of the ordinary (Adobe PDF, Windows Live, Juva Plug-In).  I don't have the same ones here at home as I do at the worksite, so it may or may not be an issue.  If I find out it's one of them, I'll be sure to post something here.

I'm developing this for a client who will put this help system within a customer area of their web site. I would feel funny informing the users to run IE in compatability view (wouldn't want them to think less of my client), but perhaps it's not an issue to everyone else.

Someone care to share your feelings on this?
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 35422491
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question