Solved

images not appearing IE8

Posted on 2011-02-25
6
447 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Closing Comment

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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…

792 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