www.webdeveloper.com
Results 1 to 4 of 4

Thread: Image Map Not Working in Opera or Safari

  1. #1
    Join Date
    Sep 2007
    Posts
    10

    Question Image Map Not Working in Opera or Safari

    I am working on my website and created an image map for my banner. This works perfectly in Firefox, but not in Opera, Safari, or IE for that matter. Any ideas?

    Here's the code

    Code:
    <div class="bannertext"><img src="images/bannertext.png" usemap="bannertext" border=0></div>
    Code:
    <map id="bannertext" name="bannertext">
    <area shape="rect" alt="" coords="0,0,60,17" href="index.php" title="Home" />
    <area shape="rect" alt="" coords="102,0,172,16" href="blog.php" title="Blog" />
    <area shape="rect" alt="" coords="222,0,282,16" href="photos.php" title="Photos" />
    </map>

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Code:
    usemap="#bannertext"

  3. #3
    Join Date
    Sep 2007
    Posts
    10

    That worked

    That worked, thanks so much.

  4. #4
    Join Date
    Jul 2006
    Location
    Mumbai City, Maharashtra State, India
    Posts
    36
    I wonder, how that worked without the "#" in Firefox. Surprising.

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