![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all. I recently asked how to show links on one page differently. On the navigation bar they will be white, while the rest of the page will be the standard blue with purple when visited. The reply to my question had links to tutorials for DW 4, and I have MX. I had a look around, and being new to CSS style sheets, I get lost in instructions. What is the easiest way to show links differently? Thanks Josh |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
in the head of your page or within your style sheet, add: style type="text/css" !-- a { color: white; text-decoration: underline; } a:hover { color: red; text-decoration: underline; } a.dark { color: black; text-decoration: underline; } a.dark:hover { color: red; text-decoration: underline; } -- /style Then when you had a link in your page add within the tag class="dark" to call the styll a.dark as in <a class="dark" href="page.htm" This a very simple example, you can of course add other attributes such as font size, style etc |
![]() |
| Thread Tools | |
| Display Modes | |
| |