Padding et Firefox
Fermé
Arij86
Messages postés
124
Date d'inscription
vendredi 9 mai 2008
Statut
Membre
Dernière intervention
21 avril 2011
-
6 sept. 2009 à 19:11
Utilisateur anonyme - 6 sept. 2009 à 19:34
Utilisateur anonyme - 6 sept. 2009 à 19:34
A voir également:
- Padding et Firefox
- Video downloadhelper firefox - Télécharger - Outils pour navigateurs
- Importer marque page firefox - Guide
- Firefox gratuit - Télécharger - Navigateurs
- Ublock origin firefox - Télécharger - Outils pour navigateurs
- Firefox 52 - Forum Mozilla Firefox
3 réponses
Pffffou là là !!
C'est pas joli joli comme code tout ça...
BODY {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(../images/bg.gif) #fff repeat-x; PADDING-BOTTOM: 0px; MARGIN: 0px; FONT: 80%/180% Trebuchet MS, Arial, Helvetica, Sans-Serif; COLOR: #333; PADDING-TOP: 0px; TEXT-ALIGN: center
}
Cela peut être remplacé par :
body {
margin: 0;
padding: 0;
background: #FFF url(../images/bg.gif) repeat-x;
text-align: center;
color: #333;
font-size : 12px;
font-family: Trebuchet MS, Arial, Helvetica, Sans-Serif;
}
Cela dit, je vous conseille de commencer votre feuille de style css par :
* {
margin: 0;
padding: 0;
}
Ainsi, toutes les marges et les paddings de vos éléments seront d'office à zéro, et c'est bien arrangeant !!
Donc je vous conseillerais d'écrire votre feuille de style comme ceci :
* {
margin: 0;
padding: 0;
}
body {
background: #FFF url(../images/bg.gif) repeat-x;
text-align: center;
color: #333;
font-size : 12px;
font-family: Trebuchet MS, Arial, Helvetica, Sans-Serif;
}
Voilà !
C'est pas joli joli comme code tout ça...
BODY {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(../images/bg.gif) #fff repeat-x; PADDING-BOTTOM: 0px; MARGIN: 0px; FONT: 80%/180% Trebuchet MS, Arial, Helvetica, Sans-Serif; COLOR: #333; PADDING-TOP: 0px; TEXT-ALIGN: center
}
Cela peut être remplacé par :
body {
margin: 0;
padding: 0;
background: #FFF url(../images/bg.gif) repeat-x;
text-align: center;
color: #333;
font-size : 12px;
font-family: Trebuchet MS, Arial, Helvetica, Sans-Serif;
}
Cela dit, je vous conseille de commencer votre feuille de style css par :
* {
margin: 0;
padding: 0;
}
Ainsi, toutes les marges et les paddings de vos éléments seront d'office à zéro, et c'est bien arrangeant !!
Donc je vous conseillerais d'écrire votre feuille de style comme ceci :
* {
margin: 0;
padding: 0;
}
body {
background: #FFF url(../images/bg.gif) repeat-x;
text-align: center;
color: #333;
font-size : 12px;
font-family: Trebuchet MS, Arial, Helvetica, Sans-Serif;
}
Voilà !
Arij86
Messages postés
124
Date d'inscription
vendredi 9 mai 2008
Statut
Membre
Dernière intervention
21 avril 2011
6
6 sept. 2009 à 19:29
6 sept. 2009 à 19:29
re ,
Merci pour votre aide , j'ai remplacer mon css , mais malheuresement :( ma charte est tjrs décalé agauche sur firefox par contre sur IE elle s'affiche bien .
Merci pour votre aide , j'ai remplacer mon css , mais malheuresement :( ma charte est tjrs décalé agauche sur firefox par contre sur IE elle s'affiche bien .