Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

visualizing usemaps with thin borders

Status
Not open for further replies.

glg1

Programmer
Joined
Nov 19, 2005
Messages
65
Location
US
Hi all,
I generate a series of imagemaps dynamically from a database. The usemap and areas work great. As part of the user experience, I would like to have faint boxes drawn around the areas on the images. I've been trying all sorts of css to get this to happen, to no avail.

The question is can one add borders to an <area> tag? or must I resort to something like what Stu Nicolls does (which is very impressive and I love, but for the dynamic generation is a bit over the top for our needs).

Thanks, George
 
I think you'll have to resort to his method if you want the borders.
 
If the number of areas you have is not too great, you could consider having several images, which you swap in depending on which area is hovered over.

Hope this helps,
Dan



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top