Text hover color

User 466642 Photo


Registered User
2 posts

Where is the setting to change the color of the text when the mouse is hovering over it? I thought I used it once before, but I can no longer find it!
Dan
User 466642 Photo


Registered User
2 posts

In CC HTML Editor 2008, sorry for the omission...
User 122279 Photo


Senior Advisor
14,461 posts
Online Now

For your purpose you'll have to use some css. If you are using an external style sheet, just paste this bit of code into it:
a:link {
color: black;
}
a:visited {
color: gray;
}
a:hover {
text-decoration: none;
color: white;
background-color: navy;
}
a:active {
color: aqua;
background-color: navy;
}

Here are all the different link states, you can use them all or just the one which says a:hover. You can of course choose the colours you want, and the text-decoration and background-color styling if you like. If not, then just delete them.

If you are NOT using an external style sheet, then type

<style type="text/css"> </style>

into the head section of your html, and drop the above mentioned code between the tags.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.