Voir le sujet précédent :: Voir le sujet suivant |
Auteur |
Message |
Génius flashmioche
|
indenter un texte , Posté le: 26-10-2004 9:44 |
|
|
Salut,
J'essaye de décaler le texte vers la droite de 10px
Je pensais que
fonctionnerait mais apparement sa veut pas .
Code: |
#cadre{
background-color:#FEFCD1;
margin-top:10px;
margin-bottom:10px;
padding-bottom:5px;
width: 100%;
height: auto;
} |
Merci bien. |
|
|
SIBELIUS html mioche
|
indenter un texte , Posté le: 26-10-2004 16:55 |
|
|
Curieux, cela fonctionne très bien chez moi.
Qu'est-ce qui ne marche pas exactement ? |
|
|
SIBELIUS html mioche
|
indenter un texte , Posté le: 26-10-2004 16:56 |
|
|
Curieux, cela fonctionne très bien chez moi.
Qu'est-ce qui ne marche pas exactement ? |
|
|
Génius flashmioche
|
indenter un texte , Posté le: 26-10-2004 20:23 |
|
|
Code: |
#cadre{
background-color:#FEFCD1;
margin-top:10px;
margin-bottom:10px;
padding-bottom:5px;
width: 600px;
height: auto;
border: 1px #BCBCBC solid;
text-indent:10px;
} |
Le texte ne se décale pas du tout.
Par contre quand je le met dans mon menu pour essayer sa fonctionne!!! |
|
|
SIBELIUS html mioche
|
indenter un texte , Posté le: 26-10-2004 20:29 |
|
|
Quel navigateur possèdes-tu ???
Je viens de tester exactement ton code sous IE6 et Firefox et j'ai bien un décalage de 10px
Code: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
#cadre{
background-color:#FEFCD1;
margin-top:10px;
margin-bottom:10px;
padding-bottom:5px;
width: 600px;
height: auto;
border: 1px #BCBCBC solid;
text-indent:10px;
}
-->
</style>
</head>
<body>
<div id="cadre">
texte
</div>
</body>
</html> |
|
|
|
Génius flashmioche
|
indenter un texte , Posté le: 26-10-2004 21:33 |
|
|
Alors c'est que peut être un autre paramètre et qui empêche à celui ci de s'appliquer.
J'en dévoile un peu plus.
J'utilise principalement IE6, FireFox et Konquéror (Linux Suse 9 Serveur)
Code: |
#centre {
/*background-color:#FFFFFF;*/
margin-left: 150px;
}
#cadre{
background-color:#FEFCD1;
margin-top:10px;
margin-bottom:10px;
width: 600px;
height: auto;
border: 1px #BCBCBC solid;
}
#titreducadre{
width: 100%;
height: 20px;
background-image:url(images/fondtitremenu.gif);
text-indent::10px;
border-bottom: 1px #0049B6 solid
} |
Merci bien... |
|
|
|