View Full Version : HTML code for changing the color of hyperlinks?
Angeleyes
Sep 29th 2006, 4:39 pm
Recently someone informed me that the reason my forums aren't being indexed much on google is because the program I use on the homepage (articlelive) uses redirects for all of the pages. So I changed the forums link to a direct link.
However, articlelive by default makes all links blue. Does anyone know the code I can use to change the color of a hyperlink just on one link?
You can see the problem here http://www.IHeartPaws.com
jrlane7
Sep 29th 2006, 6:19 pm
Just place the color tag inside the hyperlink tag.
Example:
<a href="http://www.yahoo.com"><font color="FF0000">Yahoo</font></a>
Angeleyes
Sep 29th 2006, 7:14 pm
thank you!!!! I'll go try it out now! :)
Angeleyes
Sep 29th 2006, 7:20 pm
It works :) Thank you so much... I really appreciate it!
jrlane7
Sep 29th 2006, 7:39 pm
Glad I could help!
thevenerablez
Sep 30th 2006, 12:11 pm
you can use CSS and the a attribute. That's the most current. Font tags are deprectated.
Kirtan
Oct 1st 2006, 3:35 am
I agree thevenerablez. As i can see your sources code there are three style sheets used in your page. Why dont' you put a style for those links in one of your style sheet?
Angeleyes
Oct 1st 2006, 11:13 am
Thanks thevenerablez and Kirtan... but Articlelive uses templates and it confuses me a bit (basically being a novice). I am really not sure how to do that. :(
Johan007
Oct 2nd 2006, 6:40 am
In your HTML file add a class attribute to the "a" tag:
<p>You really need to <a href="/****" class="altlink" >use CSS here </a> punk!</p>
Put this in your .CSS file:
.altlink{color:red}
Alternatively if you can only access HTML via your templates you could use this less desirable method in your HTML file:
<p>You really need to <a href="/****" style="color:red">use CSS here</a> punk!</p>
Gordaen
Oct 2nd 2006, 10:13 am
Your forum looks like it is powered by vbulletin (and an outdated version at that). It includes a huge list of styles that really should be in a separate CSS file. It also looks like your main page is using a template that pulls from several CSS files in http://www.iheartpaws.com/templates/Bright Light/Styles/
You definitely want to use styles (CSS) and NOT the font tag as suggested above. You also may wish to use http://validator.w3.org/ to see where you can improve the site. Templating engines are much easier to modify than you might believe :)
Angeleyes
Oct 2nd 2006, 11:23 am
Your forum looks like it is powered by vbulletin (and an outdated version at that).
What does this have to do with anything? It's on the last version and I haven't had the time recently to update it, originally I was waiting to hear the experiences that others had with the upgrade and got very busy. Articlelive (as I stated is being used on the homepage) pulls from many templates that's just the way it works... and it confuses the crap outta me. :D
Additionally, I have no idea how to edit the CSS files on Vbulletin... isn't it supposed to be done right as sold??? I will definitely check out that link when I get home from work. Thank you!!!!
Angeleyes
Oct 2nd 2006, 11:44 am
I think I need to get a partner to help with the site and make it make money... then of course, profit share. I'm too clueless for words :(
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.