aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes border= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "border="0"" Watch "border="0"" New topic
Author

border="0"

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

when you set border="0" in an image tag used as a link there is no border. but after link is visited it has one. why? can it be "fixed"?
it is just that one of my image links is a transparent animated gif and the border ruins the look.
[ August 30, 2003: Message edited by: Randall Twede ]

SCJP
Visit my download page
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
i think if you apply css to the links for visted, active, etc..... with border = 0.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62469
    
  68

Is it really a border that you are talking about, or just the "focus" indication that the browser draws?
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

bear,
oh you are right...if i click another link then click on back button it is gone. guess its not really a problem.
[ August 31, 2003: Message edited by: Randall Twede ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
you can add onclick="this.blur()" on the image tag and it will not show.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

hmmm...added what you suggested to the image tag and it didnt work, but added it to the anchor tag and it did
 
Don't get me started about those stupid light bulbs.
 
subject: border="0"