dreamweaver not so dreamy
May 30, 2007 12:22 PM   RSS feed for this thread Subscribe

Dreamweaver question... I want some of the links on a page to be one color, and the rest of the links be a different color. Setting the link colors in page properties makes ALL links the same color. Is there a way to make links of different colors? Maybe by over-riding the page properties in a specific section of the page? Or separating the page props some how? thanks... novice
posted by hazel to computers & internet (5 comments total) 1 user marked this as a favorite
You can do this with CSS. I don't have any dreamweaver-specific advice but there's a little tutorial here, if you're comfortable editing html.
posted by waterlily at 12:43 PM on May 30, 2007


Yeah, this is easy with CSS. Something like this

a:link {color: #900;}
a.special:link {color: #090;}

You'd then code the links you wanted to appear in the special color as <a href="whatever" class="special">foo</a>

If you've got the page structured so that only links within one block have a special color, you'd wrap that section in something like <div class="special"> and use the css

a:link {color: #900;}
div.special a:link {color: #090;}
posted by adamrice at 12:56 PM on May 30, 2007


Here's another tutorial, which seems to be just a tad easier than waterlily's link.
posted by Meagan at 12:56 PM on May 30, 2007


Yep, that's the way to do it! But I thought I better stop in, just in case you needed my confirmation. :)
posted by The Deej at 3:26 PM on May 30, 2007


Thanks...I also found a couple of more tutorials (since y'all gave me a term I could search):

this one
and another

new lingo I have learned: "pseudo classes" and "container styles"
posted by hazel at 3:40 PM on June 1, 2007


« Older For various reasons I need to ...   |   ASPfilter... my company has a ... Newer »

You are not logged in, either login or create an account to post comments



Related Questions
Create websites from the comfort of your own home! February 13, 2008
Dreamhacker January 31, 2008
Open source software for design company April 13, 2007
Move mouse and panic April 11, 2007
Best Free Programs for a Mac? November 16, 2006