Centrer un compte à rebours

Résolu
yamall Messages postés 27 Statut Membre -  
yamall Messages postés 27 Statut Membre -
Bonsoir, je viens d'installer un compte à rebours mais je n'arrive pas à le centrer
si quelqu'un peut m'aider, par avance merci .
Voici le template :

<!--copy begin here:-->
<style type="text/css">#fx_convert_1 br {display:none;}</style><div style="width:300px;text-align:center;" id="fx_convert_1"><div id="xcolorc2_1" style="border:1px solid #000;background-color:#1E6CE0;padding: 0px 0px;margin: 0px 0px;align:center;overflow:hidden;"><div id="xcolorc2_2" style="font-size:12px;color:#183a00;line-height:16px;font-family: arial; font-weight:bold;background:#1E6CE0;padding: 3px 1px;text-align:center;"><a href="http://fr.freecountdown.net/Préparez vos pouces, GT6 arrive dans :" alt="Voyage | Compte à rebours|Compteur|Temporisateur" title="Voyage | Compte à rebours|Compteur|Temporisateur" id="xcount_link2" style="color:#F4FF3A;font-size:14px;text-decoration:none;line-height:16px;font-family: arial;" >Préparez vos pouces, GT6 arrive dans :</a></div><div id="xcount2_428455532" style="font-size: 1em;font-family: arial; font-weight:bold"></div><script src="http://fr.freecountdown.net/z.php?text=&t=2&fd=2013-12-06&dir=down&id=2_428455532&fc=F4FF3A"></script></div></div>
<!--copy end here:-->

4 réponses

  1. Utilisateur anonyme
     
    salut il suffit de rajouter

    margin: auto;


    voilà :

    <!DOCTYPE html>
    <html>
    	<head>
    		<title>truc</title>
    		<meta charset="UTF-8" />
    		<style type="text/css">
    			#fx_convert_1 br {
    				display: none;
    			}
    		</style>
    	</head>
    	<body>
    
    		<div style="width:300px; text-align:center; margin: auto;" id="fx_convert_1">
    			<div id="xcolorc2_1" style="border:1px solid #000;background-color:#1E6CE0;padding: 0px 0px;margin: 0px 0px;align:center;overflow:hidden;">
    				<div id="xcolorc2_2" style="font-size:12px;color:#183a00;line-height:16px;font-family: arial; font-weight:bold;background:#1E6CE0;padding: 3px 1px;text-align:center;">
    					<a href="http://fr.freecountdown.net/Préparez vos pouces, GT6 arrive dans :" alt="Voyage | Compte à rebours|Compteur|Temporisateur" title="Voyage | Compte à rebours|Compteur|Temporisateur" id="xcount_link2" style="color:#F4FF3A;font-size:14px;text-decoration:none;line-height:16px;font-family: arial;" >Préparez vos pouces, GT6 arrive dans :</a>
    				</div><div id="xcount2_428455532" style="font-size: 1em;font-family: arial; font-weight:bold"></div><script src="http://fr.freecountdown.net/z.php?text=&t=2&fd=2013-12-06&dir=down&id=2_428455532&fc=F4FF3A"></script>
    			</div>
    		</div>
    	</body>
    </html>
    0
  2. yamall Messages postés 27 Statut Membre
     
    Merci, mais pour mettre ce compte à rebours je suis passé par un site,
    qui m'a donné un code (voir plus haut) à intégré aux templates, chose que j'ai
    fais, la modif que tu me donnes ne dois pas convenir dans ce cas !
    Je cherche quoi modifier dans le code que j'ai reçu.
    0
    1. Utilisateur anonyme
       
      as tu essayé ?
      0
  3. yamall Messages postés 27 Statut Membre
     
    Je viens d'essayer mais pas de changement.
    0
    1. Utilisateur anonyme
       
      si le but est de centrer le compte a rebours, je t'assure que sa fonctionne :)
      0
  4. yamall Messages postés 27 Statut Membre
     
    Autant pour moi, ça marche, un grand Merci .
    0