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