Centrer son site web
Fermé
Nailian
-
22 sept. 2009 à 16:18
Nailian Messages postés 7 Date d'inscription mardi 22 septembre 2009 Statut Membre Dernière intervention 30 septembre 2009 - 22 sept. 2009 à 17:39
Nailian Messages postés 7 Date d'inscription mardi 22 septembre 2009 Statut Membre Dernière intervention 30 septembre 2009 - 22 sept. 2009 à 17:39
A voir également:
- Centrer son site web
- Site de telechargement - Accueil - Outils
- Site comme coco - Accueil - Réseaux sociaux
- Web office - Guide
- Création site web - Guide
- Quel site remplace coco - Accueil - Réseaux sociaux
9 réponses
Chamicki
Messages postés
526
Date d'inscription
jeudi 11 juin 2009
Statut
Membre
Dernière intervention
20 juillet 2012
73
22 sept. 2009 à 16:19
22 sept. 2009 à 16:19
Tu connais le CSS ?
Nailian
Messages postés
7
Date d'inscription
mardi 22 septembre 2009
Statut
Membre
Dernière intervention
30 septembre 2009
22 sept. 2009 à 16:23
22 sept. 2009 à 16:23
La comme ça... non :(
Si c'est des codes je devrais pouvoir m'en sortir non ?
Si c'est des codes je devrais pouvoir m'en sortir non ?
Chamicki
Messages postés
526
Date d'inscription
jeudi 11 juin 2009
Statut
Membre
Dernière intervention
20 juillet 2012
73
22 sept. 2009 à 16:27
22 sept. 2009 à 16:27
Il faut que tu mettes dans ton CSS un
margin : auto ;
Nailian
Messages postés
7
Date d'inscription
mardi 22 septembre 2009
Statut
Membre
Dernière intervention
30 septembre 2009
22 sept. 2009 à 16:38
22 sept. 2009 à 16:38
Dans la section Body ?
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Nailian
Messages postés
7
Date d'inscription
mardi 22 septembre 2009
Statut
Membre
Dernière intervention
30 septembre 2009
22 sept. 2009 à 16:42
22 sept. 2009 à 16:42
Voici mon code... aurais tu la gentillesse de me dire ce qui cloche ?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="images/gemini_icone.png" type="image/x-icon"/>
<link rel="icon" href="images/gemini_icone.png" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>简迷离 Gemini ® Coming soon</title>
<style type="text/css">
<!--
body {
background-color: #3d3d3d;
}
-->
</style></head>
<body>
<img src="images/coming_soon.jpg" width="1000" height="626" /></div>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="images/gemini_icone.png" type="image/x-icon"/>
<link rel="icon" href="images/gemini_icone.png" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>简迷离 Gemini ® Coming soon</title>
<style type="text/css">
<!--
body {
background-color: #3d3d3d;
}
-->
</style></head>
<body>
<img src="images/coming_soon.jpg" width="1000" height="626" /></div>
</div>
</div>
</div>
</div>
</body>
</html>
mugen23
Messages postés
125
Date d'inscription
mardi 4 août 2009
Statut
Membre
Dernière intervention
27 novembre 2010
2
22 sept. 2009 à 17:18
22 sept. 2009 à 17:18
faut bien penser à séparer les contenu du style ;)
<head>
<style type="text/css">
<!--
body {
background-color: #3d3d3d;
margin:0;
text-align:center; /* pour IE */
}
#coming{
width:1000px;
height:626px;
margin:0 auto; /* pour centrer le div */
}
-->
</style>
</head>
<body>
<div id="coming">
<img src="images/coming_soon.jpg" alt="coming_soon" />
</div>
</body>
<head>
<style type="text/css">
<!--
body {
background-color: #3d3d3d;
margin:0;
text-align:center; /* pour IE */
}
#coming{
width:1000px;
height:626px;
margin:0 auto; /* pour centrer le div */
}
-->
</style>
</head>
<body>
<div id="coming">
<img src="images/coming_soon.jpg" alt="coming_soon" />
</div>
</body>
Nailian
Messages postés
7
Date d'inscription
mardi 22 septembre 2009
Statut
Membre
Dernière intervention
30 septembre 2009
22 sept. 2009 à 17:23
22 sept. 2009 à 17:23
Un grand merci...
je vais voir ce que ca donne ;)
++
je vais voir ce que ca donne ;)
++
mugen23
Messages postés
125
Date d'inscription
mardi 4 août 2009
Statut
Membre
Dernière intervention
27 novembre 2010
2
22 sept. 2009 à 17:27
22 sept. 2009 à 17:27
ah ouais, j'oubliais, abandonne Dream ! c'est un soft qui sers à rien sauf perdre du temps et ne pas savoir faire le moindre bout de code :p
un bon Intype pour faire un site c'est parfais ;)
un bon Intype pour faire un site c'est parfais ;)
Nailian
Messages postés
7
Date d'inscription
mardi 22 septembre 2009
Statut
Membre
Dernière intervention
30 septembre 2009
22 sept. 2009 à 17:39
22 sept. 2009 à 17:39
hehe... merci du conseil ;)
++
++