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.

&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;

#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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:07 UTC