Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

[SOLVED] Icon Not Displaying, Only In Firefox

I'm having an incredibly weird problem. My footer is dynamically generated by a script, so that the date will reflect future dates. I have a little phrase and then my social media icons that are linked to my accounts.

Google Chrome is displaying all of my social media icons without any problems. In Firefox, however, the Twitter icon refuses to show up. I've checked, rechecked, and then checked again the file path names to make sure they're correct, and they are. I've tried to tell it jokes, coerce it out of hiding, threaten it, and nothing is working.

I would know that it couldn't find the file if the alt text were displaying, but not even the alt text is displaying. I've tried moving the surrounding link and image element for the Twitter icon to a different part of the string to no avail. I'm completely stumped.

It is happening on my main site: http://www.marcusparsons.com. The aptly named "copyright.js" can be found closest to the ending body tag.

Thank you in advance.

2 Answers

I see twitter, google+ and GitHub icons in Firefox. You might add some bottom padding to the footer. It is on the very bottom of the page and doesn't look right to me.

You might get the Firebug plugin for Firefox. It is great.

Do you mind me asking what version of Firefox you are running?

37.0.2, but it just downloaded an update when I went in to check.

I see it on 38.0.1 also.

I'm running version 38.0.1, and it's not displaying. I've tried on my 2 work computers that run Windows 7 (both running v38.0.1) and it's not showing. I tried it on my laptop just a few minutes ago (which runs Kubuntu) and I am able to see the icon, v37.0.2. :\

Also, good note on the padding. I added a tiny bit. My belief is that the footer should be out of the way of the main content but still visible.

Somehow renaming the twitter icon to "twittericon2.png" has enabled Firefox (on my end) to see that there is an icon there. I've deleted the cache multiple times before (and reset all preferences), and nothing has worked. I have no idea why that would work, but it did lol.