Instead of just adjusting the color of text of the link of a news article that someone has already visited, (a:visited) I want it to add "Read:" at the beginning of the link of the news article. Simple way to do this?
Instead of just adjusting the color of text of the link of a news article that someone has already visited, (a:visited) I want it to add "Read:" at the beginning of the link of the news article. Simple way to do this?
To add some text via CSS, you'd use the :before pseudo selector:
http://www.quirksmode.org/css/beforeafter.html
Information on what browsers actually support it:Code:a:visited:before { content: "Read: "; }
http://www.quirksmode.org/css/contents.html
Brian
Thank you so much. I'll keep a color change for visited for the older I.E. versions for a backup. That site is extremely useful as well. Didn't know there were so many different types of selectors that have special functions like that.
Bookmarks