473,327 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

visited links doesn't change color in IE7

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
Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2.     a:visited { text-decoration: none;
  3.     color: rgb(148, 148, 148);}
  4.     a:hover {text-decoration: none;
  5.     color: rgb(148, 148, 148);}
  6. </style>
Also my JSP includes other JSPs and HTMLs as well.

Please advice!
Jul 23 '07 #1
9 8589
gemguy
12
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
Jul 23 '07 #2
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.
Jul 23 '07 #3
epots9
1,351 Expert 1GB
are your link dynamic?
Jul 23 '07 #4
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 :(
Jul 23 '07 #5
pbmods
5,821 Expert 4TB
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.
Jul 24 '07 #6
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.
Jul 24 '07 #7
drhowarddrfine
7,435 Expert 4TB
Check your history. Are you sure you don't have it set to zero?
Jul 24 '07 #8
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..
Jul 25 '07 #9
your history file has become corrupted.........

close all instances of IE........goto internet options in control panel..........

delete history........
Jul 31 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
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...
18
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...
9
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...
4
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...
0
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...
8
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...
3
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"...
2
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...
3
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...
0
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
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...
0
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...
0
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...
1
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
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
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.