|
I need to set the a:visited CSS to whatever color the normal a is set to.
What I want to be able to tell the browser is, for the visited links, use the same color as the unvisited links, whatever color it is .
I need to do this without specifying a particular...
Started by senthil on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Usually....
To get the color of the a and then set a:visited to that color and this probably wouldn't work in all, so I'm probably wrong, but maybe try a:visited{color: inherit;}, but I'm not sure there's a pure CSS solution.
|
|
I have some css code that shows a background color on hover. The text is white on a blue background.
Otherwise, if there is no hover, the text is blue with a white background. However, when the link has been visited, the text remains blue with a blue ...
Started by kylex on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
For :visited is enough to do the trick:
a:visited{
color:#3399cc;
}
a:hover{
background-color:#3399cc;
color:# ;
}
One method would be to use the !important keyword:
a:visited { color:#3399cc; } a:hover....
|
|
I have this class:
.news_item_info { font-size: .7em; color:# ; text-indent: 30px; a:link { color: # ; } a:visited { color: # ; } }
Here its with code:
<div class="news_item_info"> <?php echo $articles[$index]->getPoints(); ?> puntos por...
Started by Slzr on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
; } .news_item_info a:link { color: # ; } .news_item_info a:visited { color: # ; }
You can't do CSS like_info a:link { color: # ; } .news_item_info a:visited { color: # ; }
I would take the colour out_info a....
|
Ask your Facebook Friends
|
I know it is rare, but I am color blind and find it difficult to see the purplish standard color of visited links. To circumvent this problem, I always change the visited links color to red in other browsers; however, I cannot seem to do this with chrome...
Started by inapub on
, 19 posts
by 14 people.
Answer Snippets (Read the full thread at google):
Custom.css
Simply open the file with Notepad, and paste the following line of code:
A:visited { color: red, I found it at "~/.config/chromium/Default/User Stylesheets/"
Add this line:
A:visited { color: red of code:
A:visited....
|
|
Hi, Has anyone else had the problem with the 'site visited link color' in the appearance->colors and fonts section of the sites? When I click on a particular colour, it doesn't seem to update it for me. All the other colour and
Started by venamore on
, 25 posts
by 18 people.
Answer Snippets (Read the full thread at google):
When on the color ....
I also tried it from computers running XP every other aspect of the color scheme, just not the "Site visited link color".
To change the visited color using IE7, IE8, Chrome, and Firefox.
|
|
Google Chrome version 7.0.517.44
Operating System: openSUSE 64-bit (Linux)
How do I turn _all_ links that I visit on _any_ web page red in color? (No matter what the stylesheet of the web page dictates!)
I know how to do that in Firefox via an entry in...
Started by t-b on
, 12 posts
by 9 people.
Answer Snippets (Read the full thread at google):
The following code and then simply save:
a:visited
{color:#FF0000 !important;}
a:hover
{color:rgb save:
a:visited
{color:#FF0000 !important;}
a:hover
{color:rgb(255,0,0) !important color differentiation....
|
|
FF2 (at least) doesn't mark as link as :visited if it triggers the onclick handler without following the href. I'm using onclick to fetch data from a server and modify the page and the link styling seems appropriate here. But the link is not marked as...
Started by dougfelt on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It's the URLs themselves that are interpreted as "visited as defined by the :visited....
Strictly speaking, there's no such thing as a "visited" state for individual links.
Apply a class that has the same definition as :visited.
|
|
I'm using jquery. i have a anchor list. i'm enumerate anchors, if it visited, set display:none; i need when click on the anchor, anchor will changed to visited state from javascript? How can i do?
Started by ebattulga on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
GetPropertyValue('color'); // check for visited if (color == "rgb(0, 0, 255)") { alert(link.href + ' has been it like this:
$.rule('a:visited { color: #f06 !important }').appendTo('style');
How about doing it through....
|
|
I have the "change color extension", but it does not work. It shows the link colors have been changed on the "adjust your preferences" page, it shows the page colors have been changed. But when I open a link then go back to it, nothing has changed except...
Started by alancazms on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at google):
The button it goes back to the original color and stays that way when returning to the page.
|
|
Is it necessary or bad practice to repeat properties that aren't changing in each link type? Like this:
a:link {display: block; width: 50px;} a:visited {display: block; width: 50px; color: #000;} a:hover {display: block; width: 50px; color: #FFF} a:active...
Started by McFly88 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Following Ben's answer:
a{ display:block; width: 50px....
:link and :visited it on :link and :visited.
You can chain link states.
color: #fff; } a:visited{color: #000}
variables will take precedence if they are set.
|