Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

border around image map area


  • Please log in to reply
16 replies to this topic

#13 gor

gor

    CC Newcomer

  • Member
  • PipPip
  • 15 posts

Posted 04 October 2008 - 08:47 AM

i cannot use any CSS or JavaScript
I'd better draw it in paintbrush or something non-web

thanks for help
  • 0

#14 mgwalk

mgwalk

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 04 October 2008 - 03:28 PM

Yeah I do not think there is a way to do this (border around a map) even with CSS. I tried putting this in the area tag
onmouseover="this.style.border='1px solid #000;'"

and it did not work. Some browser did it but I do not remember which one it was. I tried Google Chrome, Safari, Opera, Firefox and IE7, but none showed it so maybe I was wrong on that.
  • 0

#15 Xav

Xav

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 8356 posts

Posted 05 October 2008 - 07:24 AM

That's JavaScript, not CSS.
  • 0
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?

#16 Brandon W

Brandon W

    CC Mentor

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 2092 posts
  • Location:Ipswich, Australia
  • Programming Language:C, Java
  • Learning:Java, C++, JavaScript

Posted 09 October 2008 - 05:20 PM

What languages are you allowed to use for this project?

If you want, when I get home I might be able to do the border around the image for you? Also, why do you want a border around it?
  • 0
I've returned...

#17 Xav

Xav

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 8356 posts

Posted 10 October 2008 - 09:56 AM

Adding a border is easy - just open it up in any image editing program. Expand the canvas by double the value you want the border to be, centering the image in both directions. Simply fill the remaining space with the colour you want.
  • 0
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download