Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes image tag used inside href tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "image tag used inside href tag" Watch "image tag used inside href tag" New topic
Author

image tag used inside href tag

satish pune
Ranch Hand

Joined: Sep 04, 2003
Posts: 44
Hello ,
I am using an image tag within a link tag
For all other normal links using css I am able to change the color of
the visited link
However in this case when I have an embedded image within the link tag
it is the browser setting that seems to dictate the color of the visited link and not what is set in the css
Is it possible or is this a limitation ?
Thanks in advance ,
-satish pune
Here is the code that I am trying :
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Give the link tag a class and it will override the defaults
 
Don't get me started about those stupid light bulbs.
 
subject: image tag used inside href tag