HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old October 25th, 2007, 02:15 AM
tommr1's Avatar
tommr1 tommr1 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 204 tommr1 User rank is Lance Corporal (50 - 100 Reputation Level)tommr1 User rank is Lance Corporal (50 - 100 Reputation Level)tommr1 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 18 h 21 m 58 sec
Reputation Power: 4
XHTML image map

I am having trouble validating this image map.
I believe the problem is in the "<map name="chimes">"
section but there may be one more error as well.
When I try to validate the page, my home page, I get 2 errors.
Please help.

<map name="chimes">
<img src="/images/chimes-300.jpg" usemap="#chimes" alt="heart and butterfly wind chime wedding favors" height="231" width="300" border="0" />
<area shape="circle" coords="73, 139, 67" href="/butterfly-wedding-favors.htm" title="butterfly wind chime wedding favors" alt="butterfly wedding favors" />
<area shape="circle" coords="230, 139, 67" href="/heart-wedding-favors.htm" title="heart wind chime wedding favors" alt="heart wedding favors" />
</map>


I was a little hasty.
Its not "name" it's "id" and the <map id="chimes"> goes after the image.
checks out good.
__________________
One flaming hoop at a time.

Last edited by tommr1 : October 25th, 2007 at 02:25 AM.

Reply With Quote
  #2  
Old October 25th, 2007, 02:25 AM
JagNet's Avatar
JagNet JagNet is offline
Smoke me a kipper...
SEO Chat Regular (2000 - 2499 posts)
 
Join Date: Aug 2007
Posts: 2,487 JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 4 Days 3 h 37 m 22 sec
Reputation Power: 63
You need to include the id attribute in the <map> tag as well as the name attribute, eg <map id="chimes" name="chimes">.

According to the W3C specifications ( www.w3schools.com/tags/tag_map.asp ):
id is required
name is optional and used for backwards compatability


Also, not sure if the <img> should be nested inside the map?

Reply With Quote
  #3  
Old October 25th, 2007, 02:31 AM
JagNet's Avatar
JagNet JagNet is offline
Smoke me a kipper...
SEO Chat Regular (2000 - 2499 posts)
 
Join Date: Aug 2007
Posts: 2,487 JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level)JagNet User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 4 Days 3 h 37 m 22 sec
Reputation Power: 63
Quote:
Originally Posted by tommr1
I was a little hasty.
Its not "name" it's "id" and the <map id="chimes"> goes after the image.
checks out good.


Looks like you resolved it at the same time I answered

Glad you sorted it.

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > XHTML image map


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT