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 :

Bouton inactif ou invisible sous IE


Sujet :

HTML

  1. #1
    Candidat au Club
    Inscrit en
    Février 2010
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Février 2010
    Messages : 6
    Points : 2
    Points
    2
    Par défaut Bouton inactif ou invisible sous IE
    Bonjour,

    Alors voilà j'ai des boutons sur la plupart de mes page qui me serve à aller à la page précédente,
    mais je viens de me rendre compte que sous IE soit :
    - il ne s'affiche pas sur toutes les pages mais quand il apparait il fonctionne :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <input type="button" class="ecran" value="Retour" name="btretour" onclick="document.location.href='accueil.php'">
    - soit il ne se passe rien quand je clic dessus :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <input type="button" class="ecran" value="Retour" name="btretour" onclick="document.location.href='accueil.php'">
    Vous avez une idée d'où cela peut venir ?

    ps : la class="ecran" ne pose aucun problème j'ai vérifié plusieurs fois et les soucis exister avant la classe.

  2. #2
    Membre éprouvé Avatar de sebhm
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2004
    Messages
    1 090
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 43
    Localisation : France, Landes (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 090
    Points : 1 241
    Points
    1 241
    Par défaut
    Bizarre...

    Le comportement change-t-il sur une même page ou est-ce toujours le même (quel qu'il soit) ?

  3. #3
    Inactif
    Inscrit en
    Octobre 2008
    Messages
    826
    Détails du profil
    Informations forums :
    Inscription : Octobre 2008
    Messages : 826
    Points : 172
    Points
    172
    Par défaut
    As-tu bien mis :

    Car si tel est le cas, ou c'est normal que sa bug sous IE

  4. #4
    Candidat au Club
    Inscrit en
    Février 2010
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Février 2010
    Messages : 6
    Points : 2
    Points
    2
    Par défaut
    Non le comportement ne change pas sur une même page, il reste toujours le même.

    Oui j'ai mis des

    Es donc ça qui poserais problème ?
    Il faut que je les retire ?

  5. #5
    Inactif
    Inscrit en
    Octobre 2008
    Messages
    826
    Détails du profil
    Informations forums :
    Inscription : Octobre 2008
    Messages : 826
    Points : 172
    Points
    172
    Par défaut
    Serai ce possible de voir le code complet ?

  6. #6
    Candidat au Club
    Inscrit en
    Février 2010
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Février 2010
    Messages : 6
    Points : 2
    Points
    2
    Par défaut
    Voila le code d'une page ou le bouton s'affiche mais ne fonctionne pas

    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
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    <head>
    	<title class="ecran">INSCRIPTION</title>
    	<script type="text/javascript" src="./js/tarif.js"></script> 
    	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <link rel="stylesheet" type="text/css" href="style bts.css" />
    	<link rel="stylesheet" type="text/css" id="styleDeBase" media="print" href="print.css" />
    </head>
    <body>
     
    <!--ZONE DE MENU -->
     
     
    <head>
    <link rel="stylesheet" type="text/css" id="styleDeBase" media="print" href="print.css" />
    	<script type="text/javascript">
     
            sfHover = function() {
            var sfEls = document.getElementById("menu").getElementsByTagName("LI");
            for (var i=0; i<sfEls.length; i++) {
                    sfEls[i].onmouseover=function() {
                            this.className+=" sfhover";
                    }
                    sfEls[i].onmouseout=function() {
                            this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
                    }
            }
    }
    if (window.attachEvent) window.attachEvent("onload", sfHover);
     
     
            </script>
    </head>
     
    <!--ZONE DE MENU-->	
    <body>
    	<div id="titre">
    		<span class="titre">CENTRE DE FRANCHEVILLE</span></br>
    		<a class="bleu" href="gestioncpt.php">  Marion Lemaitre</a>
     
    		<a class="jaune" href="sessionstop.php">x</a>
    	</div>
    	<br/><br/>
     
    			<!-- Début de la zone de menu -->
    	<div id="menuDeroulant">
    		<ul id="menu">
    			<li>
    				<a href="accueil.php?num=0">Accueil</a>
     
    			</li>
     
    			<li><a href="#">Inscriptions</a>
    				<ul><li><a href="liste inscrits.php?num=0">Consulter</a></li>
    					<li><a href="inscription.php?num=0">Ajouter</a></li>
    					<li><a href="liste inscrits.php?num=0">Modifier</a></li>
    				</ul>
     
    			</li>		
     
    			<li><a href="#">Ventes</a>
    				<ul>
    					<li><a href="prevente.php?num=0">Vendre</a></li>
    					<li><a href="liste_ventes.php?num=0">Consulter</a></li>
    				</ul>
    			</li>
     
    			<li><a href="#">Gestion</a>
     
    				<ul>
    					<li><a href="admin.php?num=0">Tarif</a></li>
    					<li><a href="gestioncpt.php?num=0">Compte</a></li>
    				</ul>
    			</li>
    		</ul>	
    	</div><br/><br/>
     
    <body>
     
     
    	<!--ZONE DE CONTENU -->	
    <div id="contenu">
     
     
     
    	<!--RECHERCHE-->
    	<h4 class="ecran">Recherche</h4>
    	<form method="POST" action="">
    	<table>	
    		<tr class="ecran">
    			<th>Enfant <input type='radio' name='qui' value='enfant' checked ></th>
     
    			<th>Nom</th>
    			<th><input type="text" name="nom" size="20" border="0"></th>
    			<th>Code Postal</th>
    			<th><input type='' name='cp' size='5' maxlength='5' onchange="longueurCP(this, this.value);"></th>
    			<th ROWSPAN=2><input type='submit' value='Rechercher'></th>
    		</tr>
    		<tr  class="ecran">
    			<th>Tuteur <input type='radio' name='qui' value='parent'></th>
     
    			<th>Pr&eacute;nom</th>
    			<th><input type='text' name='prenom' size='20'></th>
    			<th>Ville</th>	
    			<th><input type='' name='ville' size='20'></th>	
    		</tr>
    		<tr>
    			<th COLSPAN=2>Inscriptions du :</th>
    			<th><input class="grisitalic" type='' name='jour' id='jour' size='2' maxlength='2' value="09" onfocus='vider(this, "09");' onblur='changeclasse(this, "09");'/>
     
    			<input class="grisitalic" type='' name='mois' id='mois' size='2' maxlength='2' value="03" onfocus='vider(this, "03");' onblur='changeclasse(this, "03");'/>
    			<input class="grisitalic" type='' name='annee' id='annee' size='4' maxlength='4' value="2009" onfocus='vider(this, "2009");' onblur='changeclasse(this, "2009");'/></th>
    			<th>Jusqu'au :</th>
    			<th><input class="grisitalic" type='' name='day' id='day' size='2' maxlength='2' value="09" onfocus='vider(this, "09");' onblur='changeclasse(this, "09");'/>
    			<input class="grisitalic" type='' name='month' id='month' size='2' maxlength='2' value="03"onfocus='vider(this, "03");' onblur='changeclasse(this, "03");' />
    			<input class="grisitalic" type='' name='year' id='year' size='4' maxlength='4' value="2010" onfocus='vider(this, "2010");' onblur='changeclasse(this, "2010");' /></th>
    		</tr>		
    	</table>
     
    		</form>
     
     
    	<h5 class='ecran'> ****************************************</h5>
     
    	<!--AFFICHAGE-->
     
    		<tr>			<form action="liste inscrits.php method="POST">
    			<table>
    			<thead>
    					<td Onclick="document.rang7.submit();">Enfant
    					<form method="POST" name="rang7" action="liste inscrits.php">
     
    						<input type="hidden" name="ordre" value= "nomenfant asc, prenomenfant asc">
    					</form>
    					</td>
     
    					<td>Date de <br/>naissance</td>
     
    					<td Onclick="document.rang9.submit();">Date </br> d'inscription
    					<form method="POST" name="rang9" action="liste inscrits.php">
    						<input type="hidden" name="ordre" value= "derniereinscription asc">
     
    					</form>
    					</td>
     
    					<td Onclick="document.rang1.submit();">Nom Prenom
    					<form method="POST" name="rang1" action="liste inscrits.php">	
    						<input type="hidden" name="ordre" value="nomparent asc, prenomparent asc">
    					</form>
    					</td>
     
    					<td Onclick="document.rang2.submit();">Profession
    					<form method="POST" name="rang2" action="liste inscrits.php">	
    						<input type="hidden" name="ordre" value="profession asc, nomparent asc">
    					</form>
     
    					</td>
     
    					<td>Adresse</td>
     
    					<td Onclick="document.rang4.submit();">CP Ville
    					<form method="POST" name="rang4" action="liste inscrits.php">
    						<input type="hidden" name="ordre" value="cp asc, ville asc">
    					</form>
    					</td>
     
    					<td>Téléphone</td>
     
     
    					<td Onclick="document.rang6.submit();">Tranche
    					<form method="POST" name="rang6" action="liste inscrits.php">
    						<input type="hidden" name="ordre" value="numtranche asc">
    					</form>
    					</td>
    		</thead>	
    		</tr><tr><td>Lopez </br>Raphael</td><td>03-04-2006</td><td>08-03-2010</td><td> Haxaire</br>Cindy</td><td>Pontier polaire</td><td>3 grand rue</td><td>18640</br>Léré</td><td>02.02.02.02.02<br/>06.06.06.06.06</td><td>2</td><td class='ecran'>				<!--bouton de modification-->
     
    					<form method="POST" action="modif.php">	
    						<input type="image" src="images/edit.png" name="modif">
    						<input type="hidden" name="modif" value="2">
    					</form>
    				<!--bouton de suppresion-->
    					<form method="POST" action="suppr.php">	
    						<input type="image" src="images/suppr.png" name="suppr" value="2">
    						<input type="hidden" name="suppr" value="2">
    					</form>
    				</td></tr><tr><td>Lemaitre </br>Tony</td><td>15-01-2000</td><td>08-03-2010</td><td>Lemaitre</br>Valerie</td><td>Ass Mat</td><td>78 bis rue Francis Garnier</td><td>58000</br>NEVERS</td><td>03.03.03.03.03<br/>06.06.06.06.06</td><td>5</td><td class='ecran'>				<!--bouton de modification-->
     
    					<form method="POST" action="modif.php">	
    						<input type="image" src="images/edit.png" name="modif">
    						<input type="hidden" name="modif" value="1">
    					</form>
    				<!--bouton de suppresion-->
    					<form method="POST" action="suppr.php">	
    						<input type="image" src="images/suppr.png" name="suppr" value="1">
    						<input type="hidden" name="suppr" value="1">
    					</form>
    				</td></tr></table></br><a href="accueil.php"><input class="ecran" type='submit' value='Retour' /></a>
     
    <input type="button" class="ecran" value="Imprimer" name="btimp" onclick="window.print();">
    </form>
     
     
    </div>
     
    </body>

  7. #7
    Rédacteur/Modérateur
    Avatar de andry.aime
    Homme Profil pro
    Inscrit en
    Septembre 2007
    Messages
    8 391
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Ile Maurice

    Informations forums :
    Inscription : Septembre 2007
    Messages : 8 391
    Points : 15 059
    Points
    15 059
    Par défaut

    Un document HTML ne doit avoir qu'un seul head et body. Le tien contient plusieurs.

  8. #8
    Candidat au Club
    Inscrit en
    Février 2010
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Février 2010
    Messages : 6
    Points : 2
    Points
    2
    Par défaut
    Ah oui xD

    J'ai mis longtemps a trouver pourquoi mais en fait j'ai un include
    Qui contient lui même un body et un head.

    Mais cela sur toutes mes page donc je doute que sa vienne de ça, sinon aucune page ne fonctionnerait

Discussions similaires

  1. [AC-2007] Bouton ruban perso invisible sous runtime 2007
    Par YoufsKwi dans le forum Runtime
    Réponses: 4
    Dernier message: 09/06/2011, 04h36
  2. comment rendre des boutons inactifs sous un calc
    Par marsweb dans le forum ActionScript 3
    Réponses: 2
    Dernier message: 06/11/2010, 11h33
  3. créer des boutons inactifs (grisés) sous netbeans
    Par melle_marwa dans le forum AWT/Swing
    Réponses: 3
    Dernier message: 20/04/2009, 22h25
  4. bouton inactif
    Par Tempotpo dans le forum AWT/Swing
    Réponses: 3
    Dernier message: 17/01/2006, 14h10
  5. Bouton inactif et mouse event
    Par poulette dans le forum MFC
    Réponses: 2
    Dernier message: 03/02/2005, 14h18

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