Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

images not appearing IE8

Posted on 2011-02-25
6
Medium Priority
?
451 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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 rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

730 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