CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Petit probleme de CSS sous IE

tidus77500
tidus77500
Niveau 8
29 octobre 2006 à 21:38:00

Bonjour tous le monde :) eu ... bonsoir ^^

J´ai un petit probleme et je galere dessus depuis tout a l´heure (alors que c´est rien du tout je suis sur ! :colere2: ) :( .

Le voici : Sous et seulement sous Internet Explorer le corps passe en dessous du menu !
http://areaofgames.free.fr/

voici le code de CSS :

body
{margin:0px
auto;font-family:arial;color:#5F582C;margin-top:0p
x;background-repeat:repeat-x;}

  1. page

{ width:772px;margin:auto;}

  1. banniere

{margin-bottom:0px;width:772px;height:173px;backgr
ound:url(images/banniere.png);}

  1. gauche {

float: left; /* Le menu flottera à gauche */
width: 120px; /* Très important : donner une taille au menu */
background-image:url("images/gauche.png");
height:593px;
width :221px;
background-repeat:repeat-x;
}

  1. centre {

margin-left: 221px; /* Une marge à gauche pour pousser le corps, afin qu´il ne passe plus sous le menu */
background-image:url("images/centre.png");
background-repeat: repeat-x; /* Une petite image de fond qui se répètera horizontalement en haut */
height:593px;
width:551px;
background-repeat:repeat-x;
}

  1. pied {

padding: 5px;
text-align: center;
background-image: url("images/pied.png");
background-repeat: no-repeat;
height:50px;
width:772px;
margin:0px;
}

Pouvez vous me dire ce qui ne va pas sbp :ange: ?? ?

Styfore
Styfore
Niveau 10
29 octobre 2006 à 23:04:29

J´ai souvent ce genre de problème, je vais voir ce que je peux faire :oui:

Killinguin
Killinguin
Niveau 10
29 octobre 2006 à 23:07:52

Utilise des postions.

Killinguin
Killinguin
Niveau 10
29 octobre 2006 à 23:08:09
  • positions.
Styfore
Styfore
Niveau 10
29 octobre 2006 à 23:15:45

body
{
width:774px;
margin:0px auto;
font-family:arial;
color:#5F582C;
margin-top:0px;
background-repeat: repeat-x;
}

  1. page

{
width:772px;
margin:auto;
}

  1. banniere

{
margin-bottom:0px;
width:772px;
height:173px;
background:url(images/banniere.png);
}

  1. gauche {

float: left; /* Le menu flottera à gauche */
width: 120px; /* Très important : donner une taille au menu */
background-image:url("images/gauche.png");
height:593px;
width :221px;
background-repeat:repeat-x;
}

  1. centre {

float: left;
background-image:url("images/centre.png");
background-repeat: repeat-x; /* Une petite image de fond qui se répètera horizontalement en haut */
height:593px;
width:551px;
background-repeat:repeat-x;
}

  1. pied {

text-align: center;
background-image: url("images/pied.png");
background-repeat: no-repeat;
height:50px;
width:772px;
margin:0px;
}

Et voilà :)

Styfore
Styfore
Niveau 10
29 octobre 2006 à 23:18:37

Ça marche, mais ça, ce serait plus conforme :

body
{
width:774px;
margin:0px auto;
font-family:arial;
color:#5F582C;
margin-top:0px;
background-repeat: repeat-x;
}

  1. page

{
width:772px;
margin:auto;
}

  1. banniere

{
margin-bottom:0px;
width:772px;
height:173px;
background:url(images/banniere.png);
}

  1. gauche {

float: left; /* Le menu flottera à gauche */
width: 120px; /* Très important : donner une taille au menu */
background-image:url("images/gauche.png");
height:593px;
width :221px;
background-repeat:repeat-x;
}

  1. centre {

float: right;
background-image:url("images/centre.png");
background-repeat: repeat-x; /* Une petite image de fond qui se répètera horizontalement en haut */
height:593px;
width:551px;
background-repeat:repeat-x;
}

  1. pied {

text-align: center;
background-image: url("images/pied.png");
background-repeat: no-repeat;
height:50px;
width:772px;
margin:0px;
}

Killinguin
Killinguin
Niveau 10
29 octobre 2006 à 23:23:13

Je viens de tester ton css, chez moi le footer n´apparait pas.

Styfore
Styfore
Niveau 10
29 octobre 2006 à 23:26:55

Ah ouai tient, j´avais pas vu :(
K´vais essayer d´arranger ça :oui:

Styfore
Styfore
Niveau 10
30 octobre 2006 à 00:02:51

Ben je ne pourrais pas arranger finalement, ´jai un bug, j´arrive plus à voir la page, c´est toujours blanc... :(

darth-bane
darth-bane
Niveau 10
30 octobre 2006 à 01:37:18

En fait, c´est dû à IE qui ne gère pas les margin et padding comme les autres, ce qui fait que parfois, un bloc est plus large que la place qui lui est dédiée et IE place le bloc en dessous.

tidus77500
tidus77500
Niveau 8
30 octobre 2006 à 10:16:17

merci les gars mais j´ai trouvé alors cherchez plus ! :)

Sous forums
  • Aide à l'achat Mac
  • Macintosh
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Internet
  • Steam Deck
  • Hardware