flightsjabri 08-02-2011, 09:54 PM If I make a hyper link, its color is blue by default, I studied about this sort of coding in 2002 and now forgotten everthing, also never needed again to change hyper link color. Now a client is asking me to change all links into black and I searched a blot but could not find anything.
Please tell me about html coding about it.
Sammy12 08-02-2011, 10:49 PM a { color: #000; }
if you set individual colors to the links, they will override this command.
.nav a { color: #DDD; }
^ will override a {color: #000; }
you can also try to use
* a { color: #000; }
nvd650 08-03-2011, 07:20 PM * a { color: #000; }
I have the same question, could you please tell me where and how to put these codes, like here is my link
I am giving [ url=mysite]link[ /url] here
now this word link will be blue and want its color black.
nvd650 08-06-2011, 12:45 AM knock knock, i've to make a link color black but i cannot write link here as i may be declared spammer, well that is a url coded link, how to make it black in simple notepad coding html tags.
Not to change css. only change in line link color to black
samxdesigns 08-06-2011, 12:49 AM I believe if you wanted to change the color of your links you would use CSS.
Would you like to change the hover, active link, visited link or just the link?
nvd650 08-06-2011, 01:17 AM I believe if you wanted to change the color of your links you would use CSS.
Would you like to change the hover, active link, visited link or just the link?
there is link on www flightsfortravel com there is a link in bold with flights for travel, i've to make it black. only this link
Sammy12 08-07-2011, 07:11 AM knock knock, i've to make a link color black but i cannot write link here as i may be declared spammer, well that is a url coded link, how to make it black in simple notepad coding html tags.
Not to change css. only change in line link color to black
knock knock. inline style isn't even strict supported. just use the css I provided earlier. I can't even think of a reason why you wouldn't want to use css
samxdesigns 08-08-2011, 04:54 AM knock knock. inline style isn't even strict supported. just use the css I provided earlier. I can't even think of a reason why you wouldn't want to use css
I agree with Sammy12, why wouldn't you want to use CSS?
sunwind 08-08-2011, 08:13 AM Thanh you dooo0 useful information!!!!
tham tu (http://thamtubachtin.net) - thám tử (http://thamtubachtin.net)
nvd650 08-13-2011, 02:31 PM knock knock. inline style isn't even strict supported. just use the css I provided earlier. I can't even think of a reason why you wouldn't want to use css
Actually I need an internal link for my client regarding SEO but client says that links on page are not beautiful for the site, so I want to give the link but with no color. so that it may not look bad
vikram1vicky 08-13-2011, 02:39 PM How many links you want same color like plain text and It is required on 1 page only or on all pages??
Avril 08-13-2011, 04:30 PM To change only one link (which does not change on hover, active, or visited):
<a href="Mylinkedpage.html"><font-color="red">Example Link</font></a>
If not, the .css usually used is:
a:link { color: #000cc; }
a:visited { color: #ffff00; }
a:active { color: #ff0000; }
a:hover { color: #ffffff;}
danny21ngo 08-13-2011, 11:13 PM Yes try this it will work as in example of this <b><a style="color: #000000; text-decoration: none" href="http://www.solution21inc.com/web_design/website-design/plastic-surgeon-websites.htm">Plastic Surgeon Websites</a></b>
and will be shown like this Plastic Surgeon Websites (http://www.solution21inc.com/web_design/website-design/plastic-surgeon-websites.htm)
FuquayDentist 08-13-2011, 11:17 PM If I make a hyper link, its color is blue by default, I studied about this sort of coding in 2002 and now forgotten everthing, also never needed again to change hyper link color. Now a client is asking me to change all links into black and I searched a blot but could not find anything.
Please tell me about html coding about it.
I believe you can also try <A href="somepage.html" style="color: #00a000">Visit Somepage</A> :thumbsup:
nvd650 08-14-2011, 10:29 PM Here is a few ways to change and control the color of hyperlinks. Hyperlinks can be made to change colors by adding a style sheet to your HTML and editing the following Anchor Pseudo-classes:
Link: The color of an un-visited link.
Visited: The color of a visited link.
Active: The color of the link when it is clicked. The link will remain that color when users hit the Back Button after visiting the link destination.
Hover: The color of the link when the mouse hovers over it.
exe (http://www.registryfast.com/Exe_errors.html)
Thanks a lot to all of you, I've got the solution after all. It was exactly as Danny Ngo said, I guess that is called in line color change. And any body also please tell me to change font of this kind of link in style tag.
Thanks in advance :)
vikram1vicky 08-15-2011, 08:56 AM Simply you can use font or font-family properties same as you used color property
:)
nvd650 08-17-2011, 02:50 AM Simply you can use font or font-family properties same as you used color property
:)
Lolz Vikram I got my diploma back in 2002 but after that I never used it and I've lost all notes and books at that time. So I am learning from zero again :D please tell me if it is like <a style font etc> what is exact code for italic times new roman etc. Please don't mind but I'm here to learn, not to teach :P
vikram1vicky 08-17-2011, 08:48 AM For inline CSS:
<a href="#" style="font:bold italic 20px "Times New Roman", Times, serif ; color:#000;">Link</a>For CSS with in page in <head> tags:
<style type="text/css">
a {
font:bold italic 20px "Times New Roman", Times, serif ;
color:#000;
}
</style>In external stylesheet CSS will be:
a {
font:bold italic 20px "Times New Roman", Times, serif ;
color:#000;
}
nvd650 08-19-2011, 03:39 AM For inline CSS:
<a href="#" style="font:bold italic 20px "Times New Roman", Times, serif ; color:#000;">Link</a>For CSS with in page in <head> tags:
<style type="text/css">
a {
font:bold italic 20px "Times New Roman", Times, serif ;
color:#000;
}
</style>In external stylesheet CSS will be:
a {
font:bold italic 20px "Times New Roman", Times, serif ;
color:#000;
}
Yes that was exactly :) thanks a lot dear, this is really really helpful for me :)
vikram1vicky 08-19-2011, 09:28 AM You are welcome.
|