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 :

Probleme de compatibilité


Sujet :

HTML

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    155
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Loire (Rhône Alpes)

    Informations forums :
    Inscription : Novembre 2004
    Messages : 155
    Points : 88
    Points
    88
    Par défaut Probleme de compatibilité
    Bonjour a tous, mon site marche bien sur internet explorer, mais sur mozilla il y a des probleme avec mes tableaux. Cela vient de ma feuille de style.

    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
    TABLE.CADRE {width:471px ; border-width:.1mm ; border-style:solid ; border-left-color:#000000 ; border-bottom-color:#000000 ; border-right-color:#E1F0FF ; border-top-color:#E1F0FF };
    TD.LIGNEHAUTG {height:17px ; font-size:13px ; color:#FFFFFF ; font-family:Arial ; font-weight:bold};
    TD.LIGNEHAUTGM {width:99px ; height:17px ; font-size:13px ; color:#FFFFFF ; font-family:Arial ; font-weight:bold};
    TD.LIGNEHAUTD {width:26px}
    TD.CELULEM {width:125px ; border:.1mm solid #000000 ; border-right-color:#000000 ; border-bottom-color:#E1F0FF ; border-left-color:#E1F0FF ; font-size:14px ; font-family:Arial};
    TD.CELULE {width:471px ; border:.1mm solid #000000 ; border-right-color:#000000 ; border-bottom-color:#E1F0FF ; border-left-color:#E1F0FF ; font-size:14px ; font-family:Arial};
    TABLE.COLONNEMENU {width:125px ; border-width:.1mm ; border-style:solid ; border-left-color:#000000 ; border-bottom-color:#000000 ; border-right-color:#E1F0FF ; border-top-color:#E1F0FF };
    TABLE.COLONNE {border-style:solid ; border-width:.1mm ; border-color:#000000};
    TABLE.COLO {border-style:solid ; border-width:thin ; border-color:#000000};
    TR.COLO {border-style:solid ; border-width:thin ; border-color:#000000};
    TD{font-size:13px ; font-family:Georgia, "Times New Roman", Times, serif ; text-align:left};
    A.menulink2 {width:80% ; height:20;text-decoration: none;font-family:Arial;font-size:16px;color: black;BORDER: 1px dotted black};
    A.menulink2:hover {border: solid 1px #CC0000;background-color:#FF9900;text-decoration: none};
    A {font-family: Arial, Helvetica, sans-serif ;  text-decoration:none ; color:#000000 };
    A:hover { border: solid 0px #FFFFFF; color:#0066FF ; text-decoration:underline};
    Que faut il modifier pour que mon css soit valide sur mozilla?

    merci d'avance

  2. #2
    Membre actif
    Profil pro
    Inscrit en
    Août 2005
    Messages
    221
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 221
    Points : 227
    Points
    227
    Par défaut
    Salut,

    Trouver le problème sans avoir de html, cela risque d'être difficile, j'ai remarqué que tu mettais des ; en dehors de tes propriétés :
    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
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
     
    TABLE.CADRE {
    	width: 471px;
    	border-width: .1mm;
    	border-style: solid;
    	border-left-color: #000000;
    	border-bottom-color: #000000;
    	border-right-color: #E1F0FF;
    	border-top-color: #E1F0FF
    }
    	;
    TD.LIGNEHAUTG {
    	height: 17px;
    	font-size: 13px;
    	color: #FFFFFF;
    	font-family: Arial;
    	font-weight: bold
    }
    	;
    TD.LIGNEHAUTGM {
    	width: 99px;
    	height: 17px;
    	font-size: 13px;
    	color: #FFFFFF;
    	font-family: Arial;
    	font-weight: bold
    }
    	;
    TD.LIGNEHAUTD {
    	width: 26px
    }
    TD.CELULEM {
    	width: 125px;
    	border: .1mm solid #000000;
    	border-right-color: #000000;
    	border-bottom-color: #E1F0FF;
    	border-left-color: #E1F0FF;
    	font-size: 14px;
    	font-family: Arial
    }
    	;
    TD.CELULE {
    	width: 471px;
    	border: .1mm solid #000000;
    	border-right-color: #000000;
    	border-bottom-color: #E1F0FF;
    	border-left-color: #E1F0FF;
    	font-size: 14px;
    	font-family: Arial
    }
    	;
    TABLE.COLONNEMENU {
    	width: 125px;
    	border-width: .1mm;
    	border-style: solid;
    	border-left-color: #000000;
    	border-bottom-color: #000000;
    	border-right-color: #E1F0FF;
    	border-top-color: #E1F0FF
    }
    	;
    TABLE.COLONNE {
    	border-style: solid;
    	border-width: .1mm;
    	border-color: #000000
    }
    	;
    TABLE.COLO {
    	border-style: solid;
    	border-width: thin;
    	border-color: #000000
    }
    	;
    TR.COLO {
    	border-style: solid;
    	border-width: thin;
    	border-color: #000000
    }
    	;
    TD {
    	font-size: 13px;
    	font-family: Georgia, "Times New Roman", Times, serif;
    	text-align: left
    }
    	;
    A.menulink2 {
    	width: 80%;
    	height: 20;
    	text-decoration: none;
    	font-family: Arial;
    	font-size: 16px;
    	color: black;
    	BORDER: 1px dotted black
    }
    	;
    A.menulink2:hover {
    	border: solid 1px #CC0000;
    	background-color: #FF9900;
    	text-decoration: none
    }
    	;
    A {
    	font-family: Arial, Helvetica, sans-serif;
    	text-decoration: none;
    	color: #000000
    }
    	;
    A:hover {
    	border: solid 0px #FFFFFF;
    	color: #0066FF;
    	text-decoration: underline
    }
    	;
    Je ne sais pas si cela peut nuire au code, mais en tout cas, il faut les enlever.
    Montre ton Html, ou fait un screenshot de ta page, pour que l'on puisse voir.


  3. #3
    Membre éprouvé
    Avatar de neilbgr
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Août 2004
    Messages
    651
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Août 2004
    Messages : 651
    Points : 1 177
    Points
    1 177
    Par défaut
    IL faut commencer par valider le css par là : http://jigsaw.w3.org/css-validator/

    Une fois d'équerre, on pourra voir.

    Enfin, test plutot avec FireFox en premier, et avec IE (qui ne respecte pas grand chose des normes) ensuite.

  4. #4
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    155
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Loire (Rhône Alpes)

    Informations forums :
    Inscription : Novembre 2004
    Messages : 155
    Points : 88
    Points
    88
    Par défaut
    merci , j'ai fait valider la feuille de style et c'est deja beaucoup mieux, je repasse demain en essayant de modifier le html pour qu'il soit propre

    merci a vous deux

  5. #5
    Membre éprouvé
    Avatar de neilbgr
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Août 2004
    Messages
    651
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Août 2004
    Messages : 651
    Points : 1 177
    Points
    1 177
    Par défaut
    De meme pour le HTML : http://validator.w3.org/

  6. #6
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    155
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Loire (Rhône Alpes)

    Informations forums :
    Inscription : Novembre 2004
    Messages : 155
    Points : 88
    Points
    88
    Par défaut
    oula ya plein d'erreur, dommage c'est en anglais je ne comprends pas tout ce qu'il faut modifier

  7. #7
    Membre confirmé Avatar de Perceval
    Homme Profil pro
    Responsable de projet fonctionnel
    Inscrit en
    Mars 2003
    Messages
    355
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Responsable de projet fonctionnel
    Secteur : Distribution

    Informations forums :
    Inscription : Mars 2003
    Messages : 355
    Points : 464
    Points
    464
    Par défaut
    Pourtant, les messages d'erreur sont assez explicites... même si ils sont en anglais.

    C'est généralement à base :
    - "Vous avez oublié de fermer telle balise"
    - "Il manque un attribut à telle autre balise"
    - "Des propriété spécifiques à IE"
    - etc....

  8. #8
    Membre confirmé
    Avatar de ilood
    Inscrit en
    Mars 2005
    Messages
    468
    Détails du profil
    Informations forums :
    Inscription : Mars 2005
    Messages : 468
    Points : 529
    Points
    529
    Par défaut
    Et il faudrait savoir quelle page tu valides, avec quel doctype etc.
    Sans page on ne peux pas te donner beaucoup d'informations.

  9. #9
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    155
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Loire (Rhône Alpes)

    Informations forums :
    Inscription : Novembre 2004
    Messages : 155
    Points : 88
    Points
    88
    Par défaut
    je valide avec ce doc type:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

  10. #10
    Membre confirmé
    Avatar de ilood
    Inscrit en
    Mars 2005
    Messages
    468
    Détails du profil
    Informations forums :
    Inscription : Mars 2005
    Messages : 468
    Points : 529
    Points
    529
    Par défaut
    Et l'url de la page à valider c'est quoi ?

  11. #11
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    155
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Loire (Rhône Alpes)

    Informations forums :
    Inscription : Novembre 2004
    Messages : 155
    Points : 88
    Points
    88
    Par défaut
    www.planetepc.net/index.php pardon

  12. #12
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    155
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Loire (Rhône Alpes)

    Informations forums :
    Inscription : Novembre 2004
    Messages : 155
    Points : 88
    Points
    88
    Par défaut
    je l'ai fait mais les bugs d'affichage sont bizarre, il se font aléatoirement, soit cela affiche bien , soit cela affiche mal

  13. #13
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    155
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Loire (Rhône Alpes)

    Informations forums :
    Inscription : Novembre 2004
    Messages : 155
    Points : 88
    Points
    88
    Par défaut
    un petit up, regardez les colonnes du menu de gauche, un coup la ligne du bas s'affiche, un coup non et pourtant c'est le même code php qui genere les petits tableaux

    merci d'avance

Discussions similaires

  1. Probleme de compatibilite IE/Firefox
    Par chiv dans le forum Général JavaScript
    Réponses: 2
    Dernier message: 07/02/2006, 09h02
  2. Architecture 64b - Problème de compatibilité Mandriva2005/06?
    Par omega67 dans le forum Administration système
    Réponses: 5
    Dernier message: 29/12/2005, 19h31
  3. Réponses: 5
    Dernier message: 12/01/2005, 10h55
  4. Probleme de compatibilité SDL (je crois!)
    Par SpaceMonkey dans le forum OpenGL
    Réponses: 5
    Dernier message: 11/06/2004, 15h10
  5. Probleme de compatibilité MFC directX 9
    Par Hankmoon dans le forum DirectX
    Réponses: 3
    Dernier message: 08/04/2004, 00h27

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