IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

liens actifs sous firefox, inactifs sous IE


Sujet :

HTML

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Avril 2006
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France, Gironde (Aquitaine)

    Informations forums :
    Inscription : Avril 2006
    Messages : 11
    Par défaut liens actifs sous firefox, inactifs sous IE
    Bonjour et bonne année à tout le monde.

    J'ai réalisé un petit site avec KompoZer.
    Je l'ai testé avec Firefox et tout marche bien.
    Par contre avec IE, j'ai deux liens qui ne fonctionnent pas.
    Ces liens renvoient à des ancres dans la même page. J'ai relié tout ça de manière "cliquante", sans toucher au code.

    J'ai remarqué que les deux liens possèdent des voyelles accentuées qui ne s'affichent pas de la même manière à différents endroits du code (?).

    J'ai essayé de retoucher à la main, mais du coup ça ne marche plus sous firefox.

    Voici le code :
    D'abord le tableau de liens :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    <table border="1" cellpadding="2" cellspacing="2"
     width="100%">
      <tbody>
        <tr>
          <td
     style="text-align: center; background-color: rgb(153, 255, 153);"><a
     href="larpe.html#qui_sommes-nous">Qui sommes-nous ?</a></td>
          <td
     style="text-align: center; background-color: rgb(153, 255, 153);"><a
     href="larpe.html#pour_qui">Pour qui ?</a></td>
          <td
     style="text-align: center; background-color: rgb(153, 255, 153);"><a
     href="larpe.html#que_proposons_nous">Que proposons-nous ?</a></td>
          <td
     style="text-align: center; background-color: rgb(153, 255, 153);"><a
     href="#O%F9_sommes-nous">Où sommes-nous ?</a></td>
          <td
     style="text-align: center; background-color: rgb(153, 255, 153);"><a
     href="#l%E9quipe">L'équipe</a></td>
        </tr>
      </tbody>
    </table>
    Ensuite les ancres incriminées :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    <table style="text-align: left; width: 100%; height: 100%;"
     border="1" cellpadding="2" cellspacing="2">
      <tbody>
        <tr>
          <td>
          <h2 style="text-align: center;"><big>Où_sommes-nous?</big></h2>
          <div style="text-align: center;"><big><big
     style="color: rgb(51, 51, 255);"><small><span
     style="text-decoration: underline; color: black; font-weight: bold;">Au
    téléphone</span></small><br>
          <small><span style="font-weight: bold;">05 56
    94 34 34</span></small></big><br>
          </big><big>du lundi au jeudi de 14 h à 17 h<br>
          </big><big><span
     style="text-decoration: underline;"></span></big></div>
          <p style="text-align: center;"><big><span
     style="text-decoration: underline; font-weight: bold;">A
    Bordeaux</span><span style="font-weight: bold;"> :</span><br>
    62
    rue de Belfort <a href="planlarpe.html" target="_blank">(plan)</a></big></p>
          <p style="text-align: center;"><big><span
     style="text-decoration: underline; font-weight: bold;">A
    Castillon la Bataille</span><span style="font-weight: bold;">
    :</span><br>
    deux mercredis par mois selon un calendrier<br>
    (renseignements et prise de rendez-vous à <small><font
     style="font-family: Gill Sans; font-style: italic;"
     color="green" size="+2"><b>l'arpe</b></font></small>)</big></p>
          <div style="text-align: center;"></div>
          <p style="text-align: center;"><big><span
     style="text-decoration: underline; font-weight: bold;">A
    Saint Ciers sur Gironde</span><span style="font-weight: bold;">
    :</span><br>
    Maison de la Solidarité, 17 avenue
    André Lafont,<br>
    1° et 3ème mercredi du mois<br>
    (renseignements et prise de rendez-vous à <small><font
     style="font-family: Gill Sans; font-style: italic;"
     color="green" size="+2"><b>l'arpe</b></font></small>)<big><span
     style="text-decoration: underline;"></span></big></big></p>
          <p style="text-align: center;"><big><span
     style="text-decoration: underline; font-weight: bold;">Par
    courriel</span><span style="font-weight: bold;">
    :</span><span style="text-decoration: underline;"><br>
          </span><a href="mailto:agep.larpe@free.fr">agep.larpe@free.fr</a></big><br>
          <big><span style="text-decoration: underline;"></span></big></p>
          <div style="text-align: right;"><big><font
     size="-1"><big><a href="larpe.html#haut_de_page">haut
    de la page</a></big></font></big></div>
          </td>
        </tr>
      </tbody>
    </table>
    <br>
    <h2 style="text-align: center;"><a name="léquipe"></a></h2>
    <br>
    <br>
    <table style="text-align: left; width: 100%; height: 100%;"
     border="1" cellpadding="2" cellspacing="2">
      <tbody>
        <tr>
          <td>
          <h2 style="text-align: center;"><br>
          </h2>
          <h2 style="text-align: center;"><big>L'équipe</big></h2>
          <div style="text-align: center;"></div>
          <p style="text-align: center;"><big>Sous
    l’autorité de <span style="font-weight: bold;">Mr
    Si quelqu'un voit.
    Merci
    Jean

  2. #2
    Modérateur
    Avatar de blueice
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2003
    Messages
    3 494
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 50
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2003
    Messages : 3 494
    Par défaut
    Encode correctement les caractères spéciaux en entités HTML ou encore mieux n'utilise pas d'accent.

    Et une ancre s'appelle comme ca :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    <div id="nomAncre">...</div>
     
    <a href="#nomAncre>Lien de l'ancre</a>

  3. #3
    Membre averti
    Profil pro
    Inscrit en
    Avril 2006
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France, Gironde (Aquitaine)

    Informations forums :
    Inscription : Avril 2006
    Messages : 11
    Par défaut
    Du coup, en regardant de près selon tes explications, j'ai fini par changer les noms des balises : et c'est là que j'ai viré les voyelles accentuées, passque les "entités html"... je jongle pas vraiment.

    Et ça marche.
    Merci, l'année commence bien :-)

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. clavier inactif sous Firefox
    Par merlubreizh dans le forum Firefox
    Réponses: 1
    Dernier message: 02/08/2013, 10h42
  2. LinkButton, select edit etc. inactif sous firefox
    Par nsanabi dans le forum ASP.NET
    Réponses: 4
    Dernier message: 30/05/2010, 00h20
  3. post back inactif sous firefox
    Par igorzup dans le forum ASP.NET
    Réponses: 2
    Dernier message: 15/04/2009, 09h43
  4. Script inactif sous firefox
    Par pride dans le forum Général JavaScript
    Réponses: 7
    Dernier message: 11/01/2007, 16h54
  5. PB lien sur image sous IE, pas sous Firefox.
    Par django29 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 2
    Dernier message: 09/08/2006, 15h54

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo