This is a discussion on "image as hyperlink question" within the Web Page Design section. This forum, and the thread "image as hyperlink question are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
image as hyperlink question
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
image as hyperlink question
I am using an image that is anchored as a hyperlink. The problem is I don't want the image to have a blue border (that changes to a purple border after it is clicked). There is no text, so setting text-decoration:none as a style does nothing. How do I tell the browser not to enclose the image with the default link colors? My code is below:
Any help would be greatly appreciated. |
|
|
|
|||
|
What browser are you using? If you put border="" there shouldn't be a border in IE, Firefox, Netscape, and Opera. Although if you put border="0" it seems to give me an error in Firefox.[/code]
|
|
|||
|
![]() |
| Tags |
| image, hyperlink, question |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image display question | shammy2007 | JavaScript Forum | 2 | Jan 16th, 2008 01:45 |
| Newby newb question on using image | genista | Web Page Design | 5 | Jul 17th, 2007 12:39 |
| Image Change Question | adz13091982 | Starting Out | 3 | Apr 28th, 2007 09:17 |
| how to load a different image on a web page and attach a hyperlink | everderese | JavaScript Forum | 4 | Apr 2nd, 2007 16:52 |
| image links ( noob question ) | bruno89 | Web Page Design | 10 | Oct 12th, 2006 08:14 |