ChatterBank1 min ago
Macromedia Dreamweaver - hyperlink question
16 Answers
I'm trying to make links between pages on a Dreamweaver site and, when I make the link, the text in question turns a horrible shade of blue. Can anyone advise how I can change this colour or stop it happening at all.
Answers
Best Answer
No best answer has yet been selected by camille79. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.If you look at the source (the plain HTML code), there will be a <body> tag. In there you can specify the colour of link, active links (when the mouse cursor is over the link) and visited links (links that have been clicked).
eg
<body link="#ff0000" vlink="#990000" alink="#ffffff">
would give you red links, with darker red visited links and white active links.
Have a look here for more details :
http://www.htmlhelp.com/reference/wilbur/body/body.html
Alternatively, you can do this much more effectively with CSS :
http://www.echoecho.com/csslinks.htm
eg
<body link="#ff0000" vlink="#990000" alink="#ffffff">
would give you red links, with darker red visited links and white active links.
Have a look here for more details :
http://www.htmlhelp.com/reference/wilbur/body/body.html
Alternatively, you can do this much more effectively with CSS :
http://www.echoecho.com/csslinks.htm
Okay have tried as you suggested OBonio but can't seem to find where to add the extra text. This is what I have:
<li><font color="#FFFFFF" size="2" face="Arial, Century Gothic"><a target='_blank' href="Join 20us.htm">Membership scheme for growers and retailers launched</a></font>
Any suggestions where I should add the other text?
No problem, but as both myself and fo3nix said, the BEST solution is to use external CSS files. Then you have one file to control the entire look/feel of your site. Bored with a font? Just change the CSS and the entire site uses that font. They will save for a lot of hassle later.
Have a read here :
http://www.w3schools.com/css/default.asp
Have a read here :
http://www.w3schools.com/css/default.asp
camille79, although it looks like you've found a solution, I'd go for the plan B and abandon the answer you have so far and use stylesheets.
I know it sounds like much more hard work, but if you ever have to make any amendment to your site at all in the future it's infinitely easier.
If you need a hand with this, I'd rather do the work for you than see "font" tags!
I know it sounds like much more hard work, but if you ever have to make any amendment to your site at all in the future it's infinitely easier.
If you need a hand with this, I'd rather do the work for you than see "font" tags!
This site of mine uses stylesheets. There's some useful info there
http://tinyurl.com/bot7h
In my opinion, AB's site looks better with it's use of images. e.g. the Q and A at the top left of the question and the borders of tables and things.
http://tinyurl.com/bot7h
In my opinion, AB's site looks better with it's use of images. e.g. the Q and A at the top left of the question and the borders of tables and things.
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.