I am NOT trying to build an image map. I am merely curious if i could add stile attribute to an img map using CSS… it seems rules are allowed but have no visual effect.
for example:
area { border:3px solid #fff}
or
map{background:#fff}
I stand corrected, apparently the map is displayed ADJACENT to the image… with 0 for width and height unless I add “display:block;” which of course gives it height, but places it BELOW the image.
nothing I do makes the areas show up…
Yeah I guess trying to style this element is pretty useless…
If you set it to display:block you can give it a background and borders etc.
However, as you noticed the element doesn’t actually sit in the place specified by the co-ordinate attributes. The element is probably just a container for holding data that the browser can use to identify the relevant parts.