![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 10
OS: winxp sp2
|
Changing colour of ONE hyperlink only
Hi,
I'm trying to design a site and obviously there are a lot of hyper links throughout. With most of the hyper links, I'm happy to keep the original blue underlined font. However, a small number of hyper links are used as titles, and I'd rather they were black and underlined instead of blue. I'm using Dreamweaver and am struggling to format it so that most of the hyperlinks are blue underlined, but a select few are black underlined. Is there any code I can put in to change this? Or any way to change it through the formatting options? Any help appreciated, thanks. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,878
OS: Vista, various linux distros
|
Re: Changing colour of ONE hyperlink only
Hey, some simple css would sort this out for you... if you could post your code we could get a decent insight into the structure of your site and advise you on what to do... The idea is that you would change the link's class to another class with black as the "color" property.. It shouldn't be hard, but it would help us loads if you could post your code so we can get it right...
Cheers, Jamey |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Mar 2008
Location: South East England
Posts: 72
OS: Windows Vista 32bit Home Premium
|
Re: Changing colour of ONE hyperlink only
yea, as jamey said you just create a class using css which is assigned to the particular hyperlink you want to change colour or anything else needed to do to it (border, colour, underlining, size etc.)
|
|
|
|
|
|
#5 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,878
OS: Vista, various linux distros
|
Re: Changing colour of ONE hyperlink only
Send us the whole code, then we can see the entire structure of the code (and it can be more modular)... Basically what we intend to do is add the following to the head of the page:
Code:
<style type="text/css">
.alternateLink{
color:#000;
}
</style>
and change the links so that they look something like: Code:
<a href="blah.htm".........class="alternateLink"....> Cheers, Jamey |
|
|
|
![]() |
| Thread Tools | |
|
|