Hi,
I'm encountering a problem with IE 7 that my visited links do not keep their colors changed when they are revisited. i.e, when I reload the page, the links should change their colors so that I know I had visited them before. My code works fine for IE 6. But doesn't work for IE 7.
I have put the style tag as follows in the start of my JSP -
<style type="text/css">
-
a:visited { text-decoration: none;
-
color: rgb(148, 148, 148);}
-
a:hover {text-decoration: none;
-
color: rgb(148, 148, 148);}
-
</style>
Also my JSP includes other JSPs and HTMLs as well.
Please advice!
9 8589
Hi,
It can be set by using the the tag a:visited. have a piece of code from following link http://www.hscripts.com/tutorials/css/link-styles.php
This will help you to show the difference between visited and non visited links.
Gemguy
I have already done this, but the problem is the visited links show up as if they are unvisited the next time the page reloads..
hope this make sense to understand my query.
are your link dynamic?
yes, they are created on the fly..
the thing is, the visited links appeared to be visited as long as I was using IE 6, even if i reloaded the page. But not so in IE 7 :(
Heya, momee80. Welcome to TSDN!
Please use CODE tags when posting source code. See the REPLY GUIDELINES on the right side of the page next time you post.
I'm going to go ahead and move this thread to the HTML/CSS forum, where one of our resident Experts will be more likely to be able to help you out.
Heya, momee80. Welcome to TSDN!
Please use CODE tags when posting source code. See the REPLY GUIDELINES on the right side of the page next time you post.
I'm going to go ahead and move this thread to the HTML/CSS forum, where one of our resident Experts will be more likely to be able to help you out.
Thanks mod..
please have me the solution of my problem
i'll be greatly grateful.
Check your history. Are you sure you don't have it set to zero?
Check your history. Are you sure you don't have it set to zero?
My browser's history settings are to keep history for last 20 days..
your history file has become corrupted.........
close all instances of IE........goto internet options in control panel..........
delete history........
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Matt Adams |
last post by:
As well known I could specify the text color in the body tag like:
<BODY TEXT=WHITE LINK=WHITE VLINK=RED ALINK=WHITE>
What I want to achieve now is that always (!) the text of the last visited...
|
by: Jan Tuxen |
last post by:
Jakob Nielsen in his most recent Alertbox
(http://www.useit.com/alertbox/20040503.html) tells web authors to
change the color of visited links.
I agree to his purpose: Help users understand...
|
by: DM |
last post by:
I searched on this topic. Found others who mentioned it, but no
solution. I can't seem to get visited links to appear in a different
color in Mozilla or Firefox on the PC. It works fine in IE. My...
|
by: Matt Stanley |
last post by:
I'm experiencing frustration with our site not consistently displaying
visited links. We use CSS, and the links on some pages work as intended, but
others do not.
To see an example of what I'm...
|
by: PsyBorg |
last post by:
This is not entirely a PHP question although it is based in PHP.
I have been creating a site, where I want the visitors to see the visited links as "Crossed Out" using CSS. However, I also want...
|
by: Jeff |
last post by:
ASP.NET 2.0
I'm wondering how to set the color of a visited HyperLinkField (the link
text) in a GridView??
Here is the markup of the HyperLinkField I have problems with:
<asp:HyperLinkField...
|
by: friday13 |
last post by:
Hi,
I would like to set the link's "visited" pseudo-class with javascript
without clicking on the link. My goal is to update the link's color
(previously set in the CSS file) to be "visited"...
|
by: jkizmannRU09 |
last post by:
I know how to adjust the look of visited links with a CSS stylesheet, but how would one create individual variations among a set of links?
For example, say I have three links, all initially...
|
by: reyo |
last post by:
Hi,
i design a dynamic web page.infact it will be a css generator.
i have a question about visited link.
i want to change color,font-size,font-weight etc. of a link when it is visited.
when a...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |