Solved

images not appearing IE8

Posted on 2011-02-25
6
443 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

914 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

12 Experts available now in Live!

Get 1:1 Help Now