Solved

images not appearing IE8

Posted on 2011-02-25
6
442 Views
Last Modified: 2012-08-13
Hello,
I  put facebook and twitter icons in the head of a website, they appear okay in: firefox, safari, chrome, but NOT IE 8.
here is site..http://test.sustainablecampus.cornell.edu/

here is code for area in question-
      <div id="header">
      
            <div id="navigation">
                  <script type="text/javascript" src="/common/menu/apy_menu_main.js.cfm">
                  </script>
          <div id="connect">  
          <img src="globalimages/facebook-logo-square.gif" width="" height="" />
          <img src="globalimages/twitter.gif" width="" height="" />
          </div>
      </div>

HELP.
THANKS
0
Comment
Question by:lisakilgore
6 Comments
 
LVL 2

Expert Comment

by:Curtiss
ID: 34984177
i see them in my ie8... bottom right hand corner next to the phone number and listserv?
0
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 total points
ID: 34984194
Replace it with:
<div id="header">
     
            <div id="navigation">
                  <script type="text/javascript" src="/common/menu/apy_menu_main.js.cfm">
                  </script>
          <div id="connect">  
          <img src="globalimages/facebook-logo-square.gif" width="25" height="25" />
          <img src="globalimages/twitter.gif" width="25" height="25" />
          </div>
      </div>

Because IE8 by default makes them 1x1
0
 
LVL 4

Expert Comment

by:jmnf
ID: 34984273
when using xhtml doctype be sure to close your img tags with a forward slash like SSupreme did.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Closing Comment

by:lisakilgore
ID: 34984306
THANK YOU!!!!!
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 34984347
Just so you'll know, when you put [ width="" height="" ], IE converts that to [ width="0" height="0" ].  You can see it in IE Developer Tools.  And 0 means no image cause there's no pixels.
0
 
LVL 16

Expert Comment

by:SSupreme
ID: 34984447
Actually, empty value by default equal to "1" in IE8, in other browsers by default equal to native dimension of image.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now