[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

images not appearing IE8

Posted on 2011-02-25
6
Medium Priority
?
452 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 2000 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Closing Comment

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

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

829 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