close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Link Color

Thread began 1/25/2010 2:40 pm by laldrich374081 | Last modified 1/26/2010 1:46 pm by laldrich374081 | 987 views | 3 replies |

laldrich374081

Link Color

In my users regisration and other pages I added a link to my home page. In dreamweaver it is white but when I go to the page in a brouser it is purple. I looked at the css and tried to change it but cannot fine where to change it to white. Can you help?

Sign in to reply to this post

woodenboat

A suggestion: There is no css that addresses link styles in the User Registration Pack. You will have to add your own by linking to a css file you are using for the rest of your website or add to the Arial.css or create a new one. The Purple color you mention sounds like the default color of a visited page?

Sign in to reply to this post

neilo

As woodenboat says, if you haven't set link properties in your css, the default for visited links is purple(ish). You can add link styles to your stylesheet (or to the head of your document):

a, a:link {
color: #000;
font-weight: normal;
text-decoration: none;
}

a:visited {
color: #000;
font-weight: normal;
text-decoration: none;
}

a:hover {
color: #666;
font-weight: bold;
text-decoration: underline;
}

These will show links and visited links black, and hovered-over links are grey, in bold and with an underline. White links would be #FFF.

If you have links in different divs that you want different colours for, you can specify the div before the link rules so that these links have different properties from other links on your page.

i.e. if your links are an a div called 'leftColumn', you can write rules for the links in just that div:

div#leftColumn a:link {
color: #000;
font-weight: normal;
}
div#leftColumn a:visited {
color: #000;
font-weight: normal;
}
div#leftColumna:hover {
color: #666;
font-weight: bold;
text-decoration: underline;
}

Sign in to reply to this post

laldrich374081

Thanks!! This is what I was missing

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...