Change CSS Link Visited Hover active in html section?

It can't be done inline since :hover etc. Are css pseudo selectors and won't work inline since that is not the intention of it.

It can't be done inline since :hover etc. Are css pseudo selectors and won't work inline since that is not the intention of it. But don't be afraid of using css classes - you will need some javascript anyway to make this work. Just define the classes you want to use like: .

Cloud_item_1:link {color:red;} . Cloud_item_1:visited {color:yellow;} . Cloud_item_1:hover {text-decoration:underline;} .

Cloud_item_1:active {color:black;} . Cloud_item_2:link {color:blue;} . Cloud_item_2:visited {color:orange;} ... And than apply them to your html as you wish.

No big deal here.

Your code is very good, but don't know why said that he would need js to make this work, he don't. He can as well render the style in tags in the page header of his html file and achieve the desired result. – Oliver M Grech Nov 16 '10 at 14:43 Well, I have 250 words in my cloud so I'm going to need to create a css file of 4x240=1000 lines .

Eck :-/ – StfnoPad Nov 16 '10 at 16:29 I just hope you're gonna use some generator for it :) Hand picking all this colors would be a deadly task - maybe this can help you atleast a bit lesscss. Org – easwee Nov 16 '10 at 16:35.

You would need to have some JavaScript to change the color on hover and check if the item is active. Or you could define a class/id (dynamically) for each of the items and target them with CSS.

A:link {color:#FF0000;} /* unvisited link */ a:visited {color:#00FF00;} /* visited link */ a:hover {color:#FF00FF;} /* mouse over link */ a:active {color:#0000FF;} /* selected link */ source.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions