dreamweaver cs visited links

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Dreamweaver Training and help » Dreamweaver CS4 visited links

Dreamweaver CS4 visited links

resolvedResolved · Medium Priority · Version CS3

Eddie has attended:
Dreamweaver Introduction (2 days) course

Dreamweaver CS4 visited links

under page option my visited link colour is set to black and this looks great on my sprywidget menu.
However I have a different area (a table at top of page) where I want the visited link colour to be white, or not change at all. is this possible?
I have even tried choosing default colour for visited links in the page setup but this doesnt have any effect.

Alternatively is there anyway to disable visited links being shown.

www.bvc.co.uk/index-ed5.html

RE: Dreamweaver CS4 visited links

Hi Eddie,

Yes, you can acheive this with CSS.

What you do is specify pseudo-classes (for links) within a certain ID.

So your CSS code might look like this:
#toplinks a:link {
color: white;
}
#toplinks a:visited {
color: white;
}
#toplinks a:active {
color: white;
}
#toplinks a:hover {
color: white;
}

Then your HTML code might look like this:


<div id="toplinks">
<a href="/page1.html">Link 1</a>
<a href="/page2.html">Link 2</a>
<a href="/page3.html">Link 3</a>
</div>


Because the links are within a DIV with ID of 'toplinks', it will display the properties you have defined.

See my attached file (web document) for a closer look.

If this answer resolves your query, please mark the question as 'resolved' (see below). Otherwise, please post a follow-up response to this post, and I will assist you further.

Regards, Rich

Attached files...

links-within-div.html
links-within-div.html.bckp

RE: Dreamweaver CS4 visited links

Thank you very very much.
Worked a dream.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

Xhtml vs html

When using dreamwear template or just creating a blank webpage, you are able to select the markup language you want to use. The main choices are either xhtml or html. It is now best to select xhtml as this will translate all the html into xml, so it is transmitted across the web in xml format. One of the main advantages of this is that it makes the site that you build much more compatible with the range of different web browsers that exist.

View all Dreamweaver hints and tips


Server loaded in 0.06 secs.