W3C home > Mailing lists > Public > www-style@w3.org > June 2003

Re: Image maps in CSS (was Re: Ideas for CSS 3.0?)

From: Chris Moschini <Chris.Moschini@amdocs.com>
Date: Thu, 26 Jun 2003 16:23:42 -0500
Message-ID: <3DB269E1BEC8134084EAA64AD4A1E0CF0F0CF0@stlmail1.corp.amdocs.com>
To: "'www-style@w3.org'" <www-style@w3.org>
I think Daniel Steinberger and Tantek have it dead-right. Objects (links, divs, anything with an href) should be presented as elements in the HTML, then styled by ID to be the proper shape and location.

Consider:
&lt;map id="fireTruckParts" alt="Fire truck"&gt;
&lt;area id="engine" href="engine/" title="The engine" alt="Engine"/&gt;
&lt;area id="tank" href="tank/" title="The water tank" alt="Tank"/&gt;
&lt;/map&gt;

#fireTruckParts { image: url( "firetruck.jpg" ); }
#engine { shape: polygon( 50px 0px, 100px 100px, 0px 100px ); }
#tank { shape: polygon( . . . ); }


Although the shape and location can convey information, so can any other visual arrangement (already defined in present CSS implemenations). And as Tantek mentioned, other characteristics of the image map may become important depending on media. This begs for CSS.

-Chris "SoopahMan" Moschini
-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.

-------------------------------------------------------------------------------------
Received on Thursday, 26 June 2003 17:24:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:22 GMT