3

I've created a new html page and all other links are opening fine except the one directing to this page. Clicking the link in Internet Explorer simply does nothing, but if I open the file directly it opens it. No problems in Chrome whatsover.

What's happening here?

<a class="m04" href="cariere.html"><strong>CARIERE</strong></a>

Thanks

EDIT I think the issue is with the page itself, what could make IE refuse to open a page?

EDIT2 OK, here's cariere.html:

`Content removed`

EDIT3 Problem solved, I did a rollback while saving the changes I made and now everything is navigating correctly. Still, very strange even for IE.

8
  • 3
    pls provide some markup of what you are referring to.
    – King Size
    Jul 31, 2015 at 18:37
  • I did, but there's nothing unusual. Jul 31, 2015 at 18:42
  • Open the console and check the Network tab when you click it. Jul 31, 2015 at 18:43
  • No traffic for the link at all. Jul 31, 2015 at 18:45
  • There's likely some Javascript preventing it from running when clicked. Edit the element in the Inspector, remove the href and re-type it to make sure it's not harboring any curly quotes or whatnot, too. Jul 31, 2015 at 18:50

2 Answers 2

1

You're not getting errors, IE is opening other links, and it works fine in Chrome... First glance, this sounds like an issue with the way that IE cached your website. However, I can't elaborate on further possibilities because you didn't provide us with much information or any code to investigate, so basic troubleshooting is the best answer as of right now. I'll update it again if you provide more information.

Try this:

  • Tools(gear/cog)->Internet Options
  • Browsing history (general tab)->Delete
  • You'll want to check the Temporary Internet Files and website files, Cookies and website data. Uncheck "Preserve Favorites website data." Then click 'Delete' at the bottom.
  • Click the 'Security' tab and at the bottom click 'Default level'
  • Click the 'Privacy' tab and click 'Default'

  • Test it. If the above doesn't work, you can always click the 'Advanced' tab and click the 'Reset' button. I've seen IE do stranger things, so hopefully it's as simple as this.

As mentioned, you didn't provide us with much to work with. We're all happy to help you out, so if this doesn't work for you, please come back and post us more information/code so we can get this pinpointed. There are many things, code wise, that can cause undesired results, but we can't confirm that without seeing the code.


This has helped me out with various strange "IE bugs." I can't provide you with an explanation, but I'm sure a search could shine further light on this. It's at least worth trying considering how strange this bug is.

In your <head> put: <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

8
  • I did this, twice. Stranger than that, two very similar html files that contain this same hyperlink behave differently; one redirects to the pge correctly, the other doesn't. I even checked with a diff checker tool and didn't see anything relevant. Jul 31, 2015 at 20:13
  • You using any type of jQuery/JS on your pages?
    – Fata1Err0r
    Jul 31, 2015 at 20:14
  • On some of them, including the page 'cariere.html' I use jQuery yes, but like I said I get no script errors and IE opens the page fine if I open it directly from the context menu. And like I said, one of the pages, the only one, redirects without issues when I click on the link. It's very very weird indeed. Jul 31, 2015 at 20:18
  • Agreed, this is very weird. lol I've only been web developing over about a year now (versus desktop application), and IE seems like it's always there to be a real pain in my ass with everything. Are you hosting this local or is it possible for me to take a look at it? I'm about to update my answer with something that has helped me with various IE bugs over this past year. I can't explain what it is or what it does, I just know it's helped me with similar strange issues with IE.
    – Fata1Err0r
    Jul 31, 2015 at 20:25
  • 1
    Thanks for your help, the issue was resolved by downloading an older copy of the site's content. Aug 1, 2015 at 3:43
0

I ran into the problem before, and it's a very weird one: it works fine in Firefox and Chrome, but it's not stable in IE. Sometimes it works, but in most time it just won't work.

The problem is that a label tag is imbedded in the a tag, the link works only in the padding area between label tag and a tag. It can be easily fixed by change the lable tag into span tag.

From:

<a href="www.google.com"><label>Learn More</label></a>

To:

<a href="www.google.com"><span>Learn More</span></a>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.