PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > macromedia.dyna.html > Define Link Colors
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Define Link Colors

Réponse
 
LinkBack Outils de la discussion
Vieux 09/10/2008, 18h24   #1
withwords
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Define Link Colors

Hi. I am having trouble with my link colors. I've defined them in Page
Properties, and they show up correctly in Dreamwaver. However, when I preview
in a browser, or view them online, they go back to the default colors. Any
suggestions on how to fix this?

  Réponse avec citation
Vieux 10/10/2008, 03h52   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Define Link Colors

Lets see your page, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"withwords" <webforumsuser@macromedia.com> wrote in message
news:gclb7l$b3$1@forums.macromedia.com...
> Hi. I am having trouble with my link colors. I've defined them in Page
> Properties, and they show up correctly in Dreamwaver. However, when I
> preview
> in a browser, or view them online, they go back to the default colors. Any
> suggestions on how to fix this?
>


  Réponse avec citation
Vieux 10/10/2008, 12h29   #3
withwords
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Define Link Colors

The links at the bottom of the page are supposed to be red when active, white when visited: www.afewwords.com/goss08


  Réponse avec citation
Vieux 10/10/2008, 17h17   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Define Link Colors

Let's just make sure you understand that the a:active pseudo-class is only
expressed when you click and hold your mouse button down. Many people
interpret it to mean that you will get the a:active state when you visit
that page. Is that what you are wanting?

Your links are governed by these rules in your stylesheet -

a:link {
color: cc0000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #999999;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}

First of all, your link color is incorrectly specified - all color values
must have a "#" preceding them, so you would want -

a:link {
color:#CC0000;

If you want them to be red when clicked and white when visited, then you
will need to add that to your CSS, e.g.,

a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #FF0000;
}

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"withwords" <webforumsuser@macromedia.com> wrote in message
news:gcnape$k55$1@forums.macromedia.com...
> The links at the bottom of the page are supposed to be red when active,
> white when visited: www.afewwords.com/goss08
>
>


  Réponse avec citation
Vieux 10/10/2008, 17h48   #5
withwords
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Define Link Colors

Excellent! Was having that trouble on a couple sites and the # did the trick! Thanks!
  Réponse avec citation
Vieux 10/10/2008, 18h09   #6
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Define Link Colors

Good luck, Jen!

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"withwords" <webforumsuser@macromedia.com> wrote in message
news:gcntg2$e2o$1@forums.macromedia.com...
> Excellent! Was having that trouble on a couple sites and the # did the
> trick! Thanks!


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h26.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10224 seconds with 14 queries