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 :

décalage ie et firefox


Sujet :

HTML

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éprouvé
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    135
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 135
    Par défaut décalage ie et firefox
    salut à tous.

    voila j'ai un formulaire, tout marche bien sous ie mais sous firefox rien ne vas plus.

    en fait le problement, c'est qu'il ne respecte pas les tailles des composants que j'ai défini ( le mechant)...résultat, rien n'est aligner sur ma page et tout est vraiment moche!

    voila mon code :
    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
    <table cellSpacing="0" cellPadding="0" width="437" border="0">
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lblCiv" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:dropdownlist id="m_cmbCiv" runat="server" width="33%"></asp:dropdownlist></td>
    						</tr>
    						<tr>
    							<td class="txtCopy" align="left" width="30" height="15"><span class="txt"><br>
    								</span></td>
    							<td class="txtCopy" align="left" width="200"><asp:label class="txt" id="m_lblName" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:textbox class="txt" id="m_txtName" runat="server" width="100%" onKeydown="this.style.backgroundColor='white'"></asp:textbox></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lblFirst" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:textbox class="txt" id="m_txtFirstName" runat="server" width="100%" onKeydown="this.style.backgroundColor='white'"></asp:textbox></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lblSexe" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:dropdownlist id="m_cmbSexe" runat="server" width="66%"></asp:dropdownlist></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lbDateOfBirth" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:dropdownlist id="m_cmbDay" runat="server" width="33%"></asp:dropdownlist><asp:dropdownlist id="m_cmbMonth" runat="server" width="33%"></asp:dropdownlist><asp:dropdownlist id="m_cmbYear" runat="server" width="33%"></asp:dropdownlist></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td align="left" width="200" height="15"><asp:label class="txt" id="m_lblCountry" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:dropdownlist id="m_cmbCountry" runat="server" width="100%"></asp:dropdownlist></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lblMail" runat="server"></asp:label>¹ 
    								*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:textbox class="txt" id="m_txtMail" runat="server" width="100%" onKeydown="this.style.backgroundColor='white'"></asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
    									ControlToValidate="m_txtMail" ErrorMessage="!"></asp:regularexpressionvalidator></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lblConfirmMail" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:textbox class="txt" id="m_txtConfirmMail" runat="server" width="100%" onKeydown="this.style.backgroundColor='white'"></asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
    									ControlToValidate="m_txtConfirmMail" ErrorMessage="!"></asp:regularexpressionvalidator></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lblPwd" runat="server"></asp:label>*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:textbox id="m_txtPwd" runat="server" TextMode="Password" width="100%" onKeydown="this.style.backgroundColor='white'"></asp:textbox></td>
    						</tr>
    						<tr>
    							<td class="txt" align="left" width="30" height="15">&nbsp;</td>
    							<td class="txt" align="left" width="200" height="15"><asp:label class="txt" id="m_lblConfirmPwd" runat="server"></asp:label>²*</td>
    							<td height="15"><IMG src="/_images/px.gif" width="5"></td>
    							<td width="170" colSpan="2" height="15"><asp:textbox id="m_txtConfirmPwd" runat="server" TextMode="Password" width="100%" onKeydown="this.style.backgroundColor='white'"></asp:textbox></td>
    						</tr>
    						<tr>
    							<td colSpan="5" height="40"><asp:checkbox class="txt" id="m_chkIsineoNews" runat="server"></asp:checkbox><br>
    								<asp:checkbox class="txt" id="m_chkCgu" runat="server"></asp:checkbox><br>
    								<asp:label id="m_lblError" runat="server" ForeColor="Red"></asp:label><br>
    							</td>
    						</tr>
    						<tr align="center">
    							<td colSpan="5" height="35"><asp:button id="m_btnConfirm" runat="server" Width="200px" CssClass="bouton"></asp:button></td>
    						</tr>
    						<tr>
    							<td vAlign="bottom" colSpan="5" height="40"><span class="txt10">¹ Invisible pour les autres 
                utilisateurs <br>² Adresse valide 
                indispensable<br>* Champs obligatoires <br></span></td>
    						</tr>
    					</table>

  2. #2
    Membre averti
    Inscrit en
    Septembre 2004
    Messages
    21
    Détails du profil
    Informations forums :
    Inscription : Septembre 2004
    Messages : 21
    Par défaut
    slt! j'avais le même problème avec un form mais c'était du a de nombreux erreurs de définitions de width height et de style de mes div. Revérifie ligne par ligne ton code

  3. #3
    Membre confirmé
    Homme Profil pro
    Inscrit en
    Juin 2005
    Messages
    63
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bas Rhin (Alsace)

    Informations forums :
    Inscription : Juin 2005
    Messages : 63
    Par défaut
    Et le mieux serait de le faire avec des CSS car même si il y a encore des difference entre IE et firefox ca risque de meiux marcher et au pire tu trouveras plus facilement l'erreur

  4. #4
    Membre éprouvé Avatar de Death83
    Profil pro
    Inscrit en
    Mars 2005
    Messages
    1 667
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2005
    Messages : 1 667
    Par défaut
    Moi j'ai le problem oposer avec le CSS, ca marche sur firefox mais il y a un décalage sous IE

Discussions similaires

  1. Décalage que sur Firefox
    Par Antoon dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 06/01/2009, 23h54
  2. [Aide] Décalage sous Mozilla Firefox
    Par PiouPiou83 dans le forum Mise en page CSS
    Réponses: 4
    Dernier message: 10/06/2008, 18h22
  3. Décalage et background firefox/ie
    Par cybercodes dans le forum Mise en page CSS
    Réponses: 12
    Dernier message: 31/12/2006, 03h00
  4. décalage ie et firefox
    Par dude666 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 3
    Dernier message: 24/08/2005, 11h39

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