|
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
|
Is it possible to change the color of the "visited links?" The default color is unattractive, to say the least.
I've looked insystem libraries and preference files, etc. to no avail.
Started by MorseOpr on
, 15 posts
by 5 people.
Answer Snippets (Read the full thread at apple):
Open a new 'blanc' CSS and....
The blue and purple look almost identical: Dreamweaver.
Pointing safari-preferences-advanced-style sheet to a css file containing
A:visited {color : green extension to change the colour of visited links.
|
|
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....
|
|
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.
|
|
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.
|
|
Is there any way you can reset the visited status on links?
The scenario is this: On an intranet-site which naturally has a lot of links we want a link to have the status of "visited" for a set period of time only. I am therefore looking for a way to ...
Started by erlando on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
Although this means that the length of the 'visited' state for a particular client depends upon when with the last ....
A, a:visited { color: blue; text-decoration: underline.
If the latter, then a simple CSS (as below) would do .
|
|
I have no intention of just altering the link (I hear that's impossible, but if it's not I'd love to know how). I'm fine with adding it to the the browser history if that needs to be done.
I'd like to loop through all <a> 's on a page and change...
Started by Brennan McEachran on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
2) Try styling the links to look visited (by changing their CSS "color" attribute), although this approach won't actually make them in to visited links
3) If neither of those work, you could try doing copy the CSS attributes of ....
|
|
Hi, can someone tell me how to programatically set a:visited and a:hover programatically? I am dynamically building up some hyperlinks server side and want to know how to specify unique css behaviour for each link. Otherwise i would set them all in a ...
Started by Grant on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
.linkA:visited { color: red; } .linkB:visited { color: blue; }
In your codebehind the a:visited and a:hover within an HTML anchor (a) tag, so in the end you will need CSS somewhere (on the page.
|