www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] problem with image loading in IE7

  1. #1
    Join Date
    Apr 2007
    Posts
    13

    resolved [RESOLVED] problem with image loading in IE7

    hey I'm having a problem where the image that goes on the top of my pages doesn't want to load in IE7. Every other image loads fine and this one loads in Safari and Firefox (both PC and mac) its only in IE7 that it doesn't want to load.

    the page can be viewed at: http://people.cedarville.edu/Student/scotriethmiller/

  2. #2
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    You've specified the id of header twice
    Code:
    <!--header-->
    	<div id = "header">
    		<map name = "header" id = "header">
    			<area alt = "" shape = "circle" coords = "54, 50, 43" href = "index.html"  />
    		</map>
    	
    		<img src = "images/header.jpg" width = "725" height = "130" alt = "Scot Riethmiller - Freelance Web Developer - Developing the World Wide Web One Page at a Time" usemap = "#header" border = "0" />	
    	</div><!--end div header-->
    And try removing all the spaces. More like this:
    Code:
    <!--header-->
    	<div id="header">
    		<map name="header" id="header">
    			<area alt="" shape="circle" coords="54, 50, 43" href="index.html"  />
    		</map>
    	
    		<img src="images/header.jpg" width="725" height="130" alt="Scot Riethmiller - Freelance Web Developer - Developing the World Wide Web One Page at a Time" usemap="#header" border="0" />	
    	</div><!--end div header-->
    Also, make sure you specify values.
    Code:
     width="725px" height="130px"

  3. #3
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,216
    Also, need to correct these:

    HTML Validator result
    ----------------------
    http://people.cedarville.edu/Student/scotriethmiller/

    line 35 column 27 - Error: required attribute "id" not specified
    line 53 column 20 - Error: required attribute "id" not specified
    2 errors / 0 warnings


    Ron

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles