View Full Version : Link Colour (Noob)
Infrontation
27-02-2007, 04:53 PM
K this is a really nooby question but I can't run away from the fact I am a noob at webdesign.
Basically you change the colour of hyperlinks by using the stylesheet. What do I do to make the links black or a different colour?
{color: black; text-decoration: none; }
Something like that?
:Edzy
27-02-2007, 04:54 PM
Sorry, Can You Explain more clearly For The dumb (me)
PixelWill
27-02-2007, 04:56 PM
Yeah, something like that.
:Edzy
27-02-2007, 04:57 PM
ah i get it
google it ;)
Drompo
27-02-2007, 05:00 PM
Everything about links in CSS is here (http://www.echoecho.com/csslinks.htm)
Infrontation
27-02-2007, 05:12 PM
Cheers, +rep. However.. A:visited seems not to work. It is at blue, so when visited they should stay blue but they turn white. www.2hard2handle.orrg
if you don't know what you mean.
Cheers, +rep. However.. A:visited seems not to work. It is at blue, so when visited they should stay blue but they turn white. www.2hard2handle.orrg (http://www.2hard2handle.orrg)
if you don't know what you mean.
It ain't working.
Replace:
A:link {text-decoration: none; color: blue;}
A:visited {text-decoration: none; color: blue;}
A:active {text-decoration: none; color: blue;}
A:hover {text-decoration: underline; color: red;}
With:
a:link {
color: #CC0000;
font-weight:bold;
text-decoration:none;
}
a:visited {
color: #CC0000;
font-weight:bold;
text-decoration:none;
}
a:hover {
color: #00CCFF;
font-weight:bold;
text-decoration:none;
}
a:active {
color: #CC0000;
font-weight:bold;
text-decoration:none;
}
but change colours
Infrontation
27-02-2007, 05:19 PM
www.2hard2handle.org ^_^
Infrontation
27-02-2007, 10:26 PM
Sorry for double post but Adam edited his post instead of posting again.
It is still not working, they still go friggin white.
Delete this:
a.titlelink, a.titlelink:visited, a.titlelink:active {
color: #800000;
text-decoration: none;
font-weight: bold;
}
a.titlelink:hover {
color: #000000;
text-decoration: underline;
font-weight: bold;
}
a.category, a.category:visited, a.category:active {
color: #800000;
text-decoration: none;
}
a.category:hover {
color: #800000;
text-decoration: underline;
}
From the stylesheet.
if u use frontpage, right click> page properties> click the background tab and simply edit the visited, hover and active link colours to your liking then hit the OK button :]
if u use frontpage, right click> page properties> click the background tab and simply edit the visited, hover and active link colours to your liking then hit the OK button :]
Don't use FrontPage.
Infrontation
28-02-2007, 09:43 PM
Don't use FrontPage.
I don't use anything, as I hate frontpage and cba with dreamweaver.
I don't use anything, as I hate frontpage and cba with dreamweaver.
Have you done what I said to?
Infrontation
28-02-2007, 11:07 PM
Still doesn't work, I worked around it by changing the background of contenet areas to a grey so the white would show. It's still not ideal but its a good temporary solution at least.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.