I'm trying to style links on a web page, I can not get the links to display the link color of the a:link{} pseudo class, all I can get is the visited color even when I did not visited the link in the first place.
Here is my code:
Thanks,
Bill
Learning starts with a question and continues with a discovery Stay hungry for knowledge.
I'm actually using notepad++ and when I open my webpage in FireFox, it seems that the color in the a:link{} pseudo class is set by the browser.
I noticed that you use jfiddle to test your CSS, is this a better editor than notepad++?
Okay I got to use jfiddle to post the code!
I'll post the code as soon as I can get it on jfiddle.
Thanks,
Bill
Learning starts with a question and continues with a discovery Stay hungry for knowledge.
They'll be red until you visit the link. Then they'll be green forever*. I assume you've visited the target of the links? If so, they will be green, not red.
If that's not what you want, you'll need to change the CSS to reflect what you are after.
* Or until the link isn't in your browser history anymore.
I had one of my students from last semester actually show me how to clear the history in the browsers that I have in notepad++.
You are right, you need to clear the history on the browser but I did not know how to do this.
You have to reopen the browser(or refresh after you clear the history) and then the links are red(not yet visited)and after you visit the links they are green. When you hover over the link it is pink, when the link is active/selected it is blue.
This is pretty interesting subject!
I had a couple of students who had trouble with a HTML/JavaScript class and they came to me and I tried to help them. I must say, I was not very much help.
Hopefully after I complete this Intro to HTML book I have, I can help out more.
I actually teach business calculus. I actually hated programming while going to school myself I like math more.
Thanks,
Bill
Learning starts with a question and continues with a discovery Stay hungry for knowledge.