【发布时间】:2012-05-08 13:20:16
【问题描述】:
我正在尝试在图像地图区域周围添加边框。
这是一个包含 3 个扇区的图像地图示例。
<body>
<img src="trees.gif" usemap="#green" border="0">
<map name="green">
<area shape="polygon" coords="19,44,45,11,87,37,82,76,49,98" href="http://www.trees.com/save.html">
<area shape="rect" coords="128,132,241,179" href="http://www.trees.com/furniture.html">
<area shape="circle" coords="68,211,35" href="http://www.trees.com/plantations.html">
</map>
</body>
如果我能以某种方式在该区域周围放置一个 2 像素的边框,那就太好了。
【问题讨论】:
-
最简单的方法是编辑图像。无法自动添加边框。
标签: html