W3C home > Mailing lists > Public > www-validator@w3.org > February 2004

Problem with validator and client side Image Map

From: Allan Smith <allan.smith@samsung.com>
Date: Mon, 16 Feb 2004 14:24:41 +0000
To: www-validator@w3.org
Message-id: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAvVxbyyf3JE26+CwwSDoAn8KAAAAQAAAAqa+xZSFliUKl2z725vXOHQEAAAAA@samsung.com>

I have a problem with an IMAGE map at
http://www.telfordsteamrailway.co.uk/newcss/detailedfindus.shtml

Since I uploaded that page - and hovering over the hotspot did NOT indicate
a link I have tried the following which works

<map id="fpmap0">
<area href="usage.shtml" shape "rect" coords="237, 104, 272, 129"
alt="Telford Steam Railway" /> </map> <img class="none"
src="images/newmap.jpg" 
alt="Detailed extract from the Ordnance Survey showing the location of
Telford Steam Railway" 
usemap="#fpmap0" width="445" height="280" 
title="Detailed extract from the Ordnance Survey showing the location of
Telford Steam Railway" />

This code works but does not validate
The error message objects to 
usemap="#fpmap0"
saying that '#' is not permitted

but if I take the # out it validates - but doesn't work

What did I do wrong?

Allan Smith
Received on Monday, 16 February 2004 09:24:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:10 GMT