473,326 Members | 2,173 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,326 software developers and data experts.

a:visited not working in Mozilla or Firefox

DM
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 CSS is
copied below. Any help would be greatly appreciated.

Thanks

DM
td#footer a:link{
border-bottom: solid 1px #FFFFFF !important;
color: #FFFFFF !important;
text-decoration: none !important;
}
td#footer a:link:active,
td#footer a:visited:active{
border-bottom: solid 1px #FFFFFF !important;
color: #FFFFFF !important;
text-decoration: none !important;
}
td#footer a:visited{
border-bottom: solid 1px #FFCC66 !important;
color: #FFCC66 !important;
text-decoration: none !important;
}
td#footer a:link:hover,
td#footer a:visited:hover{
border-bottom: none !important;
color: #00FF33 !important;
text-decoration: none !important;
}
Jul 24 '05 #1
8 21704
DM skrev:
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.


The order must be
link
visited
hover
active

http://www.w3.org/TR/CSS21/selector.html#x35
--
Knud
Topposter du svar, så ryger du på min ignoreringsliste.
Svar under det du citerer og citer kun det du svarer på - tak.
http://usenet.dk/netikette/citatteknik.html
Jul 24 '05 #2
DM
Knud Gert Ellentoft wrote:
DM skrev:

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.

The order must be
link
visited
hover
active

http://www.w3.org/TR/CSS21/selector.html#x35


I tried changing it (see code below), but that doesn't work either. The code
below does not work in Mozilla or Firefox at my organization. It works fine in IE.

I've also noticed that on www.yahoo.com, www.cnn.com, www.taxes.ca.gov visited
links change color in IE 6, but not in Mozilla 1.7.3 or Firefox 1.0.2 for the PC.

I would be grateful to anyone who can shed some light on this.

td#footer a:link{
border-bottom: solid 1px #FFFFFF;
color: #FFFFFF;
text-decoration: none;
}
td#footer a:visited{
border-bottom: solid 1px #FFCC66;
color: #FFCC66;
text-decoration: none;
}
td#footer a:link:hover,
td#footer a:visited:hover{
border-bottom: none;
color: #00FF33;
text-decoration: none;
}
td#footer a:link:active,
td#footer a:visited:active{
border-bottom: solid 1px #FFFFFF;
color: #FFFFFF;
text-decoration: none;
}
Jul 24 '05 #3
On Wed, 06 Apr 2005 14:19:39 -0700, DM <sp*****@devnu11.com> wrote:
The order must be
link
visited
hover
active

http://www.w3.org/TR/CSS21/selector.html#x35


I tried changing it (see code below), but that doesn't work either.


The most important part of the order is to place hover below visited.
As you originally had it, it still wouldn't cause the problem you
describe.

Can you post a URL to the whole page ? It's not always possible to
debug fragments in isolation.
Jul 24 '05 #4
DM skrev:
I tried changing it (see code below), but that doesn't work either. The code
below does not work in Mozilla or Firefox at my organization. It works fine in IE


Read the link I posted, how it must be written,
http://www.w3.org/TR/CSS21/selector.html#x35

And validate your css.
http://jigsaw.w3.org/css-validator/
--
Knud
Topposter du svar, så ryger du på min ignoreringsliste.
Svar under det du citerer og citer kun det du svarer på - tak.
http://usenet.dk/netikette/citatteknik.html
Jul 24 '05 #5
DM
Knud Gert Ellentoft wrote:
DM skrev:

I tried changing it (see code below), but that doesn't work either. The code
below does not work in Mozilla or Firefox at my organization. It works fine in IE

Read the link I posted, how it must be written,
http://www.w3.org/TR/CSS21/selector.html#x35

And validate your css.
http://jigsaw.w3.org/css-validator/


My CSS and HTML validate.

I also tried this code:

a:link{
color: #336699;
text-decoration: underline;
}
a:visited{
color: #993366;
text-decoration: underline;
}
a:hover{
color: #66CCFF;
text-decoration: none;
}
a:active{
color: #FF6600;
text-decoration: none;
}

It produces the same result. Other people using Mozilla and Firefox on other
computers apparantly are finding that the visited links DO change color. So this
is specific to certain machines.

Browsers on my machine are set to use the colors specified by the webpage. Is
there some other config setting that could affect this?
Jul 24 '05 #6
DM <sp*****@devnu11.com> wrote:
Other people using Mozilla and Firefox on other
computers apparantly are finding that the visited links DO change color. So this
is specific to certain machines.

Browsers on my machine are set to use the colors specified by the webpage. Is
there some other config setting that could affect this?


Tools > Options > Privacy > History
Remember visited pages for the last [ ] days

If that's set to zero than the browser keeps no record of which pages
have been visited and hence never used the :visited styles.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 24 '05 #7
Gazing into my crystal ball I observed DM <sp*****@devnu11.com> writing
in news:42***********************@news.cablerocket.co m:
It produces the same result. Other people using Mozilla and Firefox on
other computers apparantly are finding that the visited links DO change
color. So this is specific to certain machines.

Browsers on my machine are set to use the colors specified by the
webpage. Is there some other config setting that could affect this?


Have you cleared your cache?

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 24 '05 #8
DM
Steve Pugh wrote:
DM <sp*****@devnu11.com> wrote:

Other people using Mozilla and Firefox on other
computers apparantly are finding that the visited links DO change color. So this
is specific to certain machines.

Browsers on my machine are set to use the colors specified by the webpage. Is
there some other config setting that could affect this?

Tools > Options > Privacy > History
Remember visited pages for the last [ ] days

If that's set to zero than the browser keeps no record of which pages
have been visited and hence never used the :visited styles.

Steve


That is the solution.

Thank you.
Jul 24 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gregory Piñero | last post by:
Hi guys, I'm trying to run this statement: os.system(r'"C:\Program Files\Mozilla Firefox\firefox.exe"' + ' "www.blendedtechnologies.com"') The goal is to have firefox open to that website....
3
by: The Bicycling Guitarist | last post by:
http://www.TheBicyclingGuitarist.net/css/index.css I have red nav buttons that turn blue when hovered over and turn purple after being visited. The red and blue work in FireFox, but not the visited...
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...
2
by: joeandtel | last post by:
Is there a way to check if a link has been visited using JavaScript? I have a table of data and the front of each row has a link to another page. Of course the browser knows if a link has been...
6
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the...
49
by: Atul Chaturvedi | last post by:
If we use ASP.NET 2.0 Login Control, we are unable to click on Login and Reset Buttons on Safari running on Apple Mac OS X Version 10.3.2 . How can i resolve the problem.
1
by: ajaysoniji | last post by:
Hi, I am using this code to read the option values from a select option. I am getting the reference of that select option in arg1. Its working fine with mozilla firefox but not with Internet...
1
by: srinivasreddypn | last post by:
Hello everybody, my css code for links in html page is a:link { color: #EC6F84; } a:visited
1
by: prasad9490024564 | last post by:
Hi Team, We are developing crossbrowsing type application with asp.net2.0 In my page i am having server side label control <asp:Label id="Label1" runat="server" Width="100px" >I am quite a...
0
by: prasad9490024564 | last post by:
Hi Team, We are developing crossbrowsing type application with asp.net2.0 In my page i am having server side label control <asp:Label id="Label1" runat="server" Width="100px" >I am quite a bit...
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...
0
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...
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: 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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.