Links - Post ID 208268

User 2530794 Photo


Registered User
4 posts

Hi
I am using one of your one of your default themes, - and have created a link from a word to another page in my project, - but it is green. I want the word to be black - how do I do that please?

I had no problem making the text/link bold, but when I try to change the color I only see the number of the color when I view it in my browser, - instead of the name of the word-link. What I do is I highlight the word, then right-clck and choose color. But t doesn't work.

Kind regards
Steen
User 122279 Photo


Senior Advisor
14,646 posts
Online Now

The look of links are usually defined in the css file (or embedded css in the html document's head). You can give the links different colours, if you want, for just a link, or when you mouse over it, or when it is active.

a { color:#0000FF; }
a:visited { color:#800080; }
a:hover { color:#008000; }
a:active { color:#FF0000; }


The above is what the html Editor gives you if you choose 'new from quick start'. Those colours are the default ones, but you can change them to match your colour scheme. A note on the state 'visited': It is not avisable to use it because of security reasons, so most modern browsers will not display it.
Ha en riktig god dag!
Inger, Norway

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


User 2530794 Photo


Registered User
4 posts

Thank you very much!

Hej Inger

Tusind tak for din hjaelp. Stor hilsen fra Queensland, Australien
Steen
User 122279 Photo


Senior Advisor
14,646 posts
Online Now

Jeg skjønte av navnet ditt at du måtte være dansk ;) Det er sikkert bra å være i Australia nå, her oppe i nord er det altfor kaldt!

(I could understand by your name that you must be Danish. Better to be down in Australia now than up here in the north where it is far too cold)
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.