PDA

View Full Version : Dreamweaver & changing colors of links!


rjthomas
02-14-2006, 10:51 AM
Hi all,
I thought this might be helpful for everyone to know. I am in the Zone and there is a gentleman who wanted to change the color of individual words(that are also links). His first instinct was to go to Page Properties. But like the name implied, any changes affect the whole page!
So to take a portion of my site as an example. This is my page right now as I want it; before, it was all purple because I had chosen that color for the word "film."
185
For the longest time, I wanted to make the word "film" one color, and "maker" another to signify they are separate links. I ended up just changing he font size, but I finally found the solution!
Say in my case, I am wanting to change "maker" maroon. I have to highlight everything but the last letter (the "r"), pick a new color, and then backspace and re-type the "r."
I hope that makes sense.
! ! ! P.s.: Apparently your words have to be underlined. (By going to Page Properties, "Underline link) BUT you can choose "Underline only when rollover" if you're really unsatisfied with the look of underline. Woo!

jharriso
02-14-2006, 12:23 PM
In your source, go and select just the words in your link that you want to change colors - selecting any tags means that it won't work. Once you do that, you can go change the text color on the properties bar like you would normally.
-Josh

abudhu
02-14-2006, 02:27 PM
Alternativley, you can simply SPAN anything.

<SPAN class="whatever">Whatever Text </SPAN>

And in the css, define how the class works.