Can you style MAP and/or AREA tags?

Hi,

You can style them but like other special elements they are usually display:none to start with.

e.g.

Firefox has these as default in html.css


area, base, basefont, head, meta, script, style, title,
noembed, param {
   display: none;
}

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.