Hello

For some odd reason, I have a picture with a link and it shows in all browsers except IE8/9/10.

What can I use to debug the problem?

Dani AI

Generated

Brief diagnosis and focused troubleshooting workflow.

The fact that images still disappear after JavaScript was removed strongly points to a CSS/layout or stacking issue rather than script logic. was right to point to the Developer Tools, and ’s observation that changing the canvas/float behaviour made icons appear in IE9/10 is an important clue: this is most likely a layout/float/stacking interaction that IE renders differently than WebKit/Gecko.

Suggested triage (fast, order matters):

  • Reproduce in a minimal HTML file that contains only the linked image (no site CSS/JS/canvas). If the image appears there, the problem is a site stylesheet or layout rule.
  • Open IE’s Developer Tools and confirm Document Mode / Emulation (ensure standards mode, not Compatibility/Quirks). Inspect the element in the DOM Explorer and check computed values for display, visibility, opacity, width/height, overflow, position and z-index.
  • Use the Network/Console panes to confirm the image resource returns 200 and that there are no mixed-content/security blocks.
  • Temporarily disable the site stylesheet(s) or toggle suspect rules (overflow, floats, position, negative margins) to see which rule causes the disappearance. Add quick colored borders/backgrounds to visualize bounding boxes and clipping.

Common root causes and pragmatic fixes:

  • Floats or un-cleared containers causing overlap or collapse (switching to an inline-block layout or clearing floats often helps).
  • Absolutely positioned elements or a canvas sitting on top (adjust stacking order or DOM placement).
  • Overflow:hidden or negative margins clipping the image.
  • IE document-mode quirks or mixed HTTP/HTTPS blocking the resource.
  • Sub-pixel/zoom rounding that hides small elements (explicit width/height or forcing layout on a container can help).

Because the OP noted intermittent behaviour when maximized, responsive/subpixel rules and stacking are likely. A minimized reproducible case makes the offending rule obvious and speeds resolution; the observations from , and line up with this diagnosis.

Recommended Answers

All 31 Replies

The developer tools of IE (F12).

The developer tools of IE (F12).

Looked before making this thread but it really showed nothing that caught my eye...

never mind.

OK, Ive gone ahead and created a ZIP with the page so you guys can take a look and maybe see something I dont....

Javascript has been mostly removed so thats why it may take a second or two to load the page.

First you see the difference:

And let me see if I can upload the ZIP:

Never mind

Oops lol....

That never mind was that the post I posted is incorrected. I still need help sorry.

Not SOLVED

Can someone remove that post to avoid confusion???

I suspect you have a cross-browser JavaScript issue.

Possibly and/or canvas

I made something appear in IE9 with the following insertion

<canvas id="can" width="550" height="550"></canvas>
<h1>PKD #1</h1>
<div id="botones"><h1>PKD #2</h1>

I suspect you have a cross-browser JavaScript issue.

I removed all the Javascript files and it still doesnt show up. Javascript has nothing to do with it.

Thats SOME progress I guess.....so now what?

<canvas id="can" width="550" height="550"></canvas>
<h1>/h1>
<div id="botones"><h1></h1>

This works too....

Thats SOME progress I guess.....so now what?

Welcome to web development :-)

Welcome to web development :-)

Been a year and something doing this.

So, how do I solve this?

You work at it.
Although icons didn't display in IE... the actual app you have doesn't do anything in Chrome or FireFox. Did you write the code? Do you have a proof-of-concept that draws on the canvas?

You work at it.
Although icons didn't display in IE... the actual app you have doesn't do anything in Chrome or FireFox. Did you write the code? Do you have a proof-of-concept that draws on the canvas?

Already worked on it a few days.

The app doesnt do anything because the Javascript is missing. I made the code work and of course there are proof-of-concept on it and in FF/CH it does work.

The app doesnt do anything because the Javascript is missing.

Then pritaeas's answer is the best for your original question.

Then pritaeas's answer is the best for your original question.

That shows me absolutly nothing relevent to the problem. It shows the code being there but it doesnt appear.

There is a reason I posted the code; So you can look at it and see if there is something I am missing :) Also to make sure that it is not only my PC....

The zip file you attached had lots of JavaScript files. But you say the app doesn't work

...because the Javascript is missing

If you simply want the icons to appear in your page then stick some non-breaking spaces instead of my debug H1 :-)

Not really sure at this point what is and what isn't working.

<!DOCTYPE html>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

just a thought, I'm not going through a few hundred K of file

I never said that the app did not work. I said that the pictures with links (basically buttons) do not show. Do not worry about the app working or not. That is not the issue.

I need confirmation that this happens on other PCs as well....

It takes at most 5 minutes to download it and open it up in one browser than another....come on....

Another quick fix.....

I've made them appear in IE9+10 by floating the canvas

<canvas id="can" width="550" height="550" style="float:left"></canvas>

and removing the float from an anchor tag in main.css

#panel div#botones a {margin-right:10px; margin-top: 5px}

You might just want to try floating the container divs rather than the icons themselves, and maybe look at display:inline-block rather than float.

Ill give this a try, thanks.

Looks horrible in IE.
Looks great in Chrome
Looks a bit worst in Firefox

Im going to try to fix it for IE then work on the rest....

Thanks for the tip

And yes, before you ask, I made the site based on Firefox using Firebug to fix things.

Problably going to be left like that as it is "decent" and all buttons are reachable.

Fuck..........one of the buttons now doesnt work correctly....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.