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

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:
<map id="fireTruckParts" alt="Fire truck">
<area id="engine" href="engine/" title="The engine" alt="Engine"/>
<area id="tank" href="tank/" title="The water tank" alt="Tank"/>
</map>

#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