IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Mise en page CSS Discussion :

Positionner un bloc sous un autre


Sujet :

Positionnement en CSS

  1. #1
    Membre régulier
    Inscrit en
    Octobre 2008
    Messages
    329
    Détails du profil
    Informations forums :
    Inscription : Octobre 2008
    Messages : 329
    Points : 97
    Points
    97
    Par défaut Positionner un bloc sous un autre
    Bonjour,

    Je suis débutant et j'ai un petit souci pour positionner mon bloc vert sous mon bloc bleu....

    Voici le lien :
    http://www.comeric.fr/results

    Ca fait 2 heures que je cherche sans succès...

    Voici le css :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    .p7GP02 {
    }
    .p7GP02 .p7GPinnerwrapper {
    	padding: 0;
    	border: 0;
    }
    .p7GP02 .p7GPtwrapper {
    	width: 200px;
    /*	float: left;*/
     
    	margin: 0;
    }
    .p7GP02 .p7GPtwrapper ul {
     
    	margin: 0;
    	padding: 0;
    	list-style-type: none;
    	background-color : #B2E2F6;
    }
    .p7GP02 .p7GPtwrapper ul a {
    	color: #239cd3;
    /*	color: #FFDC00 !important;*/
    	text-decoration: none;
    	display: block;
    	padding: 6px 10px;
    	background-repeat: repeat-x;
    	font-size: 11px;
    	text-transform: uppercase;
    	border-top-width: 1px;
    	border-top-style: solid;
    	border-top-color: #FFFFFF;
    }
    .p7GP02 .p7GPtwrapper ul a:hover {
    	color: #666666 !important;
    }
    .p7GP02 .p7GPtwrapper ul a.down, .p7GP02 .p7GPtwrapper ul a.down:hover {
    	background-image: url(../../images/glidepanelnavbackground.png);
    	color: #666666 !important;
    	border-color: #FFFFFF;
    	background-repeat: repeat-y;
    	font-weight: bold;
    }
    .p7GP02 .p7GPcwrapper {
    	margin: 0 0 0 200px;
    }
    .p7GP02 .p7GPcontent {
    	background-color : #0C0;
    	color: #666666;
    	font-size: 13px;
    	padding-top: 0px;
    	padding-right: 24px;
    	padding-bottom: 0px;
    	padding-left: 24px;
    	line-height: 14px;
    }
    .p7GP02 .p7GPcontent h1 {
     
     
    /*	float: left;*/
    	color: #FFF; 
    /*	color: #F2D300;*/
    	font-size: 20px;
    	padding-top: 0px;
    	padding-bottom: 0px;
    	font-weight: bold;
    	text-transform:capitalize;
    }
    .p7GP02 .p7GPcontent a {
    /*	color: #0033FF;*/
    color: #666;
    }
    .p7GP02 .p7GPcontent a:visited {
    	color: #486CFF;
    }
    .p7GP02 .p7GPcontent a:hover {
    	color: #CC0000;
    }
    .p7GPcurrentmark {
    	font-weight:bold !important;
    }
    .p7GP02 .clearfloats {
    	clear: both;
    	height: 0;
    	line-height: 0.0;
    	font-size: 0;
    }
    .p7GP02 .sidecontent {
    	padding: 12px;
    	color: #FFFFFF;
    	font-size: 11px;
    }
    .p7GP02_external {
    	font-size: 1em;
    }
    .p7GP02_external ul {
    	margin: 0;
    	padding: 0;
    	list-style-type: none;
    }
    .p7GP02_external ul li {
     
    }
    .p7GP02_external ul a {
    	color: #0033FF;
    }
    .p7GP02_external ul a:hover {
    	color: #000000;
    }
    .p7GP02_external ul a.down {
    	background-image: none;
    	color: #000000;
    	font-weight: bold;
    }
    Merci pour votre aide

  2. #2
    Membre régulier
    Inscrit en
    Octobre 2008
    Messages
    329
    Détails du profil
    Informations forums :
    Inscription : Octobre 2008
    Messages : 329
    Points : 97
    Points
    97
    Par défaut La solution...
    J'ai trouvé, c'était la marge de 200px qui posait souci ! La mettre à 0 !

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    .p7GP02 .p7GPcwrapper {
    	margin: 0 0 0 200px;
    }

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Positionnement de blocs dans d'autres blocs
    Par Kamoo dans le forum Mise en page CSS
    Réponses: 3
    Dernier message: 16/05/2012, 14h22
  2. insérer 2 blocs droites l'un sous l'autre
    Par Stéph utilisateur d'acces dans le forum Mise en page CSS
    Réponses: 2
    Dernier message: 11/08/2009, 19h51
  3. Comment positionner des blocs fixed dans un autre bloc global ?
    Par jalex-jalex dans le forum Mise en page CSS
    Réponses: 4
    Dernier message: 08/10/2008, 06h21
  4. Positionnement des blocs DIV sous IE6
    Par elekaj34 dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 29/11/2007, 18h18
  5. Réponses: 5
    Dernier message: 29/08/2007, 17h43

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo