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, 03:15 AM
tommr1's Avatar
tommr1 tommr1 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 203 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 17 h 16 m 5 sec
Reputation Power: 3
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 03:25 AM.

Reply With Quote
  #2  
Old October 25th, 2007, 03:25 AM
JagNet's Avatar
JagNet JagNet is offline
Smoke me a kipper...
Click here for more information. Click here for more information
 
Join Date: Aug 2007
Posts: 2,122 JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 14 h 59 m 40 sec
Reputation Power: 38
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, 03:31 AM
JagNet's Avatar
JagNet JagNet is offline
Smoke me a kipper...
Click here for more information. Click here for more information
 
Join Date: Aug 2007
Posts: 2,122 JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level)JagNet User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 14 h 59 m 40 sec
Reputation Power: 38
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


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





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