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 :

Height n'affiche pas tous les div


Sujet :

CSS

  1. #1
    Membre du Club
    Inscrit en
    Août 2010
    Messages
    156
    Détails du profil
    Informations forums :
    Inscription : Août 2010
    Messages : 156
    Points : 61
    Points
    61
    Par défaut Height n'affiche pas tous les div
    Bonjour les amis,
    J'ai un problème en CSS, je n'arrive pas à afficher tout le partie en bas des div modules !!! j'ai beau à essayé tout ce que je trouve mais rien ! merci de m'aidé.

    Voila 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
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    /* TAGS GENERAUX */
    *{
    position: relative;
    margin:0px;
    padding:0px;
    outline: none;
    font-size:12px; font-family:"lucida grande",tahoma,verdana,arial,sans-serif;
    }
    body{
    background-color: #e7e7e6;
    }
     
    /*LINKS*/
    a:link {color: #60acf4; text-decoration: none; }
    a:active {color: #60acf4; text-decoration: none; }
    a:visited {color: #60acf4; text-decoration: none; }
    a:hover {color: #60acf4; text-decoration: none; }
     
    /*fixed*/
    #fixed.fixed {
    position: fixed;
    top: 0;
    }
     
    #all{
    height: 100%;
    width: 100%;
    }
     
    #wrapper{
    width: 780px;
    height: auto;
    margin: auto;
    top:84px;
    z-index: 1;
    padding-left:0px;
    background-color: #dcdfdf;
     
     
    }
     
    /* --- MENU BAR --- */
    #menubar{
    width: 100%;
    height: 50px;
    background-image:url('../images/notification/header.jpg');
    background-repeat: repeat-x;
    position: absolute;
    z-index:101;
    }
    #elementsMenu{
    height: 36px;
    width: 900px;
    margin: auto;
    margin-top:7px;
    }
     
    #elementsMenu #logo{
    position: absolute;
    top:0px;
    left:0px;
    height:38px;
    width: 82px;
    background-image:url('../images/icons/logo.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    }
     
    #elementsMenu #profil
    {
    position: absolute;
    top:0px;
    right:0px;
    height: 95%;
    width: 100px;
    background-color: #4C4C4C;
    border: 1px solid #595959;
    text-align:center;
    }
     
     
    #elementsMenu #profil #nom
    {
    color:#FFF;
    line-height:34px;
    vertical-align: middle;
    font-weight: bold;
    }
     
    #elementsMenu #profil #avatar
    {
    height:33px;
    width:33px;
    border: 1px solid #FFF;
    float:right;
    }
     
    #recherche{
    width: 490px;
    height: 100%;
    margin: auto;
    }
    #recherche #home{
    display: inline-block;
    }
     
    #recherche #home ul {width:auto; height:36px; float:left;}
    #recherche #home ul li {height:40px; float:left; list-style-type:none; }
    #recherche #home ul li a,#recherche #home ul li a.active {height: 34px; width: 40px; background-color: #4C4C4C; border: 1px solid #595959; display: inline-block; margin-right:-5px; background-image:url('../images/icons/home.png'); background-repeat: no-repeat; background-position: 50% 50%;}
    #recherche #home ul li a:hover,#recherche #home ul li a.active {background-color: #343434; border: 1px solid #606060; z-index:10; background-image:url('../images/icons/home-over.png'); background-repeat: no-repeat; background-position: 50% 50%;}
     
    #recherche #champsTexte{
    width: 410px;
    height: 100%;
    display: inline-block;
    }
    #recherche #champsTexteMenu{
     
    height: 100%;
    width: 100%;
    border: 1px #595959 solid;
    position: absolute;
    top: 0px;
    outline: none;
    padding: 0px 15px;
    background-image:url('../images/icons/search.png');
    background-repeat: no-repeat;
    background-position: 99% 50%;
    }
     
    #recherche #liste{
    display: inline-block;
    }
     
    #recherche #liste ul {width:auto; height:36px; float:left;}
    #recherche #liste ul li {height:95%; float:left; list-style-type:none; }
    #recherche #liste ul li a,#recherche #liste ul li a.active {height: 34px; width: 25px; -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; margin-left:-5px; background-color: #4C4C4C; border: 1px solid #595959; display: inline-block; margin-right:-5px; background-image:url('../images/icons/liste.png'); background-repeat: no-repeat; background-position: 50% 50%;}
    #recherche #liste ul li a:hover,#recherche #liste ul li a.active {background-color: #343434; border: 1px solid #606060; z-index:10; background-image:url('../images/icons/liste-over.png'); background-repeat: no-repeat; background-position: 50% 50%;}
     
    /* --- Fin MenuBar --- */
     
    /* --- Notification Bar ---*/
    #notificationBar{
    width: 100%;
    height: 34px;
    background-image:url('../images/sidebar/background.jpg');
    background-repeat: repeat-x;
    position: absolute;
    top:50px;
    z-index:102;
    }
     
    #notificationBar #elementsNotif
    {
    height: 20px;
    width: 900px;
    margin: auto;
    margin-top:6px;
    }
     
    #notificationBar #messages{
    margin:auto;
    background-color: #343434;
    border: 1px solid #606060;
    height: 100%;
    width: 100px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    border-radius: 7px;
    text-align: center;
    color:#FFF;
    line-height:20px;
    vertical-align: middle;
    font-weight: bold;
    }
    /* --- fin Notification Bar ---*/
     
    /* --- debut sidebar --- */
     
    #wrapper #sidebar{
    width: 40px;
    height: 100%;
    background-image:url('../images/sidebar/background.jpg');
    background-repeat: repeat-y;
    position: absolute;
    top:0px;
    z-index:110;
    border-top: 1px solid #3d3d3d;
    border-right: 2px ridge #f34c2d;
    }
     
    #wrapper #sidebar ul{
    list-style: none;
    }
     
    #wrapper #sidebar>ul>li>a{
    height: 40px;
    width: 40px;
    display: block;
    text-decoration: none;
    }
     
    #wrapper #sidebar ul li a img{
    width: 24px;
    height:24px;
    margin-top: 8px;
    margin-left: 8px;
    border:0px;
     
    }
     
    #wrapper .vide{
    background-color:#e7e7e6;
    position: absolute;
    top:0px;
    left:0px;
    height: 100%;
    width: 40px;
    }
     
    /* --- fin sidebar --- */
     
     
    #wrapper #elementsWrapper{
    height: auto;
    padding-top:5px;
    padding-left: 45px;
    padding-bottom: 50px;
    overflow: hidden;
     
    }
     
    /* --- debut sendWallMessage --- */
    #wrapper #sendWallMessage{
    width: 300px;
    height: 140px;
    padding-bottom: 15px;
    display: inline-block;
     
    }
     
    #wrapper #sendWallMessage .message{
    margin-top:5px;
    width: 100%;
    height: 114px;
    resize:none;
    border:1px solid #c7c8c8;
    padding: 5px;
     
    }
     
    #wrapper #sendWallMessage .send{
    float:right;
    height: 22px;
    width: 85px;
    margin-top:5px;
    display: inline-block;
    color:#FFF;
    background-color: #343434;
    border:1px solid #606060;
    font-size: 9pt;
    }
     
    #wrapper #sendWallMessage .categories{
    height: 20px;
    width: 95px;
    margin-top:-5px;
    margin-right: -5px;
    padding-right: 5px;
    display: inline-block;
     
    background-color: #8b8c8c;
     
    color:#FFF;
    line-height: 20px;
    vertical-align: middle;
    text-align: right;
    border:1px solid #908f8f;
     
    background-image:url('../images/icons/point.png');
    background-repeat: no-repeat;
    background-position: 5px 50%;
     
     
    }
     
    #wrapper #sendWallMessage .categories span{
    font-size: 9pt;
    }
     
    #wrapper #sendWallMessage .listeAmis{
    display: inline-block;
    height: 22px;
    width: 105px;
    margin-top:5px;
    background-color: #8b8c8c;
    color:#FFF;
    border:1px solid #908f8f;
    font-size: 9pt;
    }
     
    /* --- fin sendWallMessage --- */
     
    /* --- debut personnalMessage --- */
     
    #wrapper #personnalMessage{
    width: 400px;
    height: 140px;
    margin-left:10px;
    display: inline-block;
    }
     
    #wrapper #personnalMessage .titre{
    margin-top:5px;
    display: inline-block;
    color:#FFF;
    background-color: #DC422A;
    border:1px solid #C52C1C;
    font-size: 9pt;
    padding: 5px 15px 5px 15px;
     
    }
     
    #wrapper #personnalMessage .avatar{
    padding: 5px;
    padding-top: 5px;
    height:43px;
    width:43px;
    }
     
    #wrapper #personnalMessage .comment{
    height: 47px;
    width: 335px;
    margin-right: -5px;
    margin-top:-40px;
    display: inline-block;
    padding: 0px 0px 30px 0px;
    background-image:url('../images/personnalmessage/bulle.png');
    background-repeat: no-repeat;
    float:right;
    }
     
    #wrapper #personnalMessage span{
    display: inline-block;
    color:#FFF;
    font-size: 9pt;
    padding: 5px 10px;
    }
     
    #wrapper #personnalMessage .input{
    height: 25px;
    width: 75%;
    border:1px solid #c7c8c8;
    padding: 0px 5px;
    }
     
    #wrapper #personnalMessage .send{
    float:right;
    height: 22px;
    width: 85px;
    margin-top:2px;
    display: inline-block;
    color:#FFF;
    background-color: #343434;
    border:1px solid #606060;
    font-size: 9pt;
    }
     
    #wrapper #content {
    float:left;
    width:780px;
    height:100%;
    z-index: 1;
    min-height:800px;
    display: inline-block;
    padding-top:5px;
    padding-left: 1px;
    padding-right: 1px;
    overflow:hidden;
    }
     
    #wrapper #content .avatar{
    top:0px;
    left:0px;
    height:125px;
    width:125px;
    border:5px solid #ffffff;
    }
     
    #wrapper #content .titre{
    display: inline-block;
    color:#FFF;
    background-color: #DC422A;
    border:1px solid #C52C1C;
    font-size: 9pt;
    padding: 5px 15px 5px 15px;
    z-index:2;
    }
     
    #wrapper #content .center-content{
    padding:4px;
    top:-143px;
    margin-left: 150px;
    display: inline-block;
    height:153px;
    width:394px;
    background-color:#ffffff;
    border: 1px solid #EAEAEA;
    }
     
    #wrapper #content #module{
    top:-146px;
    float:left;
    height:100%;
    width:550px;
    background-color:#ffffff;
    border: 1px solid #EAEAEA;
    display: inline-block;
    padding-left: 1px;
    padding-right: 1px;
    }
     
    #wrapper #content #module .module-left{
    float:left;
    height:276px;
    width:270px;
    background-color:#ffffff;
    border: 1px solid #EAEAEA;
    border-left: #ffffff;
    border-top: #ffffff;
    display: inline-block;
    padding:2px;
    }
    #wrapper #content #module .module-right{
    float:left;
    height:276px;
    width:270px;
    background-color:#ffffff;
    border: 1px solid #EAEAEA;
    border-left: #ffffff;
    border-right: #ffffff;
    border-top: #ffffff;
    display: inline-block;
    padding:2px;
    }
    #wrapper #module .module-all{
    float:left;
    min-height:276px;
    width:548px;
    background-color:#ffffff;
    border: 1px solid #EAEAEA;
    border-left: #ffffff;
    border-right: #ffffff;
    border-top: #ffffff;
    display: inline-block;
    padding:2px;
    }
    #wrapper #content #module .module-head{
    display:table;
    float:left;
    height:28px;
    width:531px;
    background-color:#ffffff;
    border: 1px solid #EAEAEA;
    border-left: #ffffff;
    border-right: #ffffff;
    border-top: #ffffff;
    padding:10px;
    }
     
    #wrapper #content #module .module-head .div-table-row{display:table-row;}
    #wrapper #content #module .module-head .div-table-col{display:table-cell;color:#999}
     
    #wrapper #content .right-content{
    height:100%;
    width:181px;
    position:absolute;
    top:-1px;
    float: right;
    right:45px;
    background-color:#ffffff;
    border: 1px solid #EAEAEA;
    z-index:6;
    min-height:1360px;
    }

    HTML:
    Code html : 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
    <div id="wrapper">
    <div class="vide"></div>
    <div id="sidebar">
    <ul id="fixed">
    <li >
    <a href="#"><img src="images/sidebar/user.png"/></a>
    </li>
    <li >
    <a href="#"><img src="images/sidebar/user.png"/></a>
    </li>
    <li >
    <a href="#"><img src="images/sidebar/user.png"/></a>
    </li>
    </ul>
    </div><!--/sidebar-->
    <div id="elementsWrapper">
    <!--MESSAGE WALL-->
    <div id="sendWallMessage">
     
    <textarea class="message">Message</textarea>
     
    <div class="categories">
    <span>Communaute</span>
    </div>
     
    <select name="listeAmis" class="listeAmis" style="top:-1px">
    <option value="+Add friend">+ Add friend</option>
    </select>
     
    <input class="send" type="submit" value="Envoyer"/>
    </div><!--FIN MESSAGE WALL-->
     
    <!-- AVIS SUR UNE PERSONNE-->
    <div id="personnalMessage">
    <div class="titre"/>Avis sur une personne</div>
     
    <div class="avatar" style="top:8px">
    <img class="avatar" src="images/avatar.png"/>
    </div>
     
    <div class="comment">
    <span>Salut sa va, lol. sd fsdf sdf sdf sdf sdf sdf sdf </span>
    </div>
     
    <input class="input" type="text" value="Commentaire"/>
    <input class="send" type="submit" value="Envoyer"/>
    </div><!--FIN AVIS SUR UNE PERSONNE-->
     
     
     
    <div id="content">
    <!--IMAGE PROFILE-->
    <div class="avatar">
    <img src="images/avatar.jpg" width="125" height="125"/>
    </div><!--fin image profile-->
    <!-- BANNER -->
    <div class="center-content">
    <div class="titre"/>Jean</div>
    </div><!--fin banner-->
     
     
    <!--AUDIO PARTY -->
    <div class="right-content"></div>
    <!--FIN AUDIO PARTY -->
     
    <!-- MODULES -->
     
    <div id="module">
     
    <div class="module-head"/>
    <div class="div-table-row">
    <div class="div-table-col"><div class="titre"/>Détails</div></div>
    <div class="div-table-col"><img src="images/marker_rounded_grey_4.png">&nbsp;Paris - france</div>
    <div class="div-table-col"><img src="images/profile.png">&nbsp;<a href="#">Envoyer une invitation</a></div>
    <div class="div-table-col"><img src="images/mail.png">&nbsp;<a href="#">Envoyer un message</a></div>
    <div class="div-table-col"><div style="float:right;top:5px"><img src="images/play.png"></div></div>
    </div>
    </div>
     
    <div class="module-left"/></div>
    <div class="module-right"/></div>
    <div class="module-left"/></div>
    <div class="module-right"/></div>
    <div class="module-all"/></div>
    <div class="module-all"/></div>
     
    </div>
     
    </div> <!--Fin MODULES-->
    </div><!--/elementsWrapper-->
     
    </div><!--/wrapper-->

    Les modules <div class="module-all"/></div> sont caché !! je connais pas la raison, vous avez une idée SVP ???

    Merci encore.

  2. #2
    Futur Membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Avril 2011
    Messages
    13
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2011
    Messages : 13
    Points : 5
    Points
    5
    Par défaut
    Ton code CSS:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    #wrapper #module .module-all{
    	float:left;
    	min-height:276px;
    	width:548px;
    	background-color:#ffffff;
    	border: 1px solid #EAEAEA;
    	border-left: #ffffff;
    	border-right: #ffffff;
    	border-top: #ffffff;
        display: inline-block;
    	padding:2px;
    Tu n'aurais pas oublier le #content ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    #wrapper #content #module .module-all{
    	float:left;
    	min-height:276px;
    	width:548px;
    	background-color:#ffffff;
    	border: 1px solid #EAEAEA;
    	border-left: #ffffff;
    	border-right: #ffffff;
    	border-top: #ffffff;
        display: inline-block;
    	padding:2px;

  3. #3
    Membre du Club
    Inscrit en
    Août 2010
    Messages
    156
    Détails du profil
    Informations forums :
    Inscription : Août 2010
    Messages : 156
    Points : 61
    Points
    61
    Par défaut
    non c'est la même chose, même pour les module left et right ainsi que .right-content

  4. #4
    Membre émérite
    Avatar de Candygirl
    Femme Profil pro
    Inscrit en
    Juillet 2006
    Messages
    1 912
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 52
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2006
    Messages : 1 912
    Points : 2 907
    Points
    2 907
    Par défaut
    Bonjour,
    Citation Envoyé par Stalk3R Voir le message
    Les modules <div class="module-all"/></div> sont caché !! je connais pas la raison, vous avez une idée SVP ???
    Tu as des erreurs de syntaxe; tu "auto-fermes" tes balises module-...
    Les bons réflexes:
    • avant de poser une question:
      règles | faq | tutoriels | recherche
    • clarté, politesse, vocabulaire et orthographe soignés = efficacité
    • remercier ceux qui ont pris le temps d'aider et si c'est le cas

  5. #5
    Membre du Club
    Inscrit en
    Août 2010
    Messages
    156
    Détails du profil
    Informations forums :
    Inscription : Août 2010
    Messages : 156
    Points : 61
    Points
    61
    Par défaut
    Bonjour,
    non c'est pas la raison, je croix que y a un bug dans #elementswrapper (overflow) + #content (overflow)

    Aufinale je veut que content est un height:100% et qu'il affiche tout dans #elementswrapper ... je galère à trouver une solution à ça, vous avez une idée ?

    Puis que la partie en bah est caché ! et quand je met height 2500px dans content ça affiche tout mais la class content-right + module ne sont pas aligné avec elementswrapper

    NB: height doit être à 100% dans content ou en auto

    Merci encore

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

Discussions similaires

  1. Mon diaporama ne s'affiche pas à tous les coups !
    Par dekaki dans le forum jQuery
    Réponses: 2
    Dernier message: 17/11/2011, 09h08
  2. [AC-2003] Mon état n'affiche pas tous les enregistrements
    Par yael44 dans le forum IHM
    Réponses: 1
    Dernier message: 01/11/2009, 20h04
  3. Réponses: 17
    Dernier message: 17/07/2008, 23h32
  4. Réponses: 1
    Dernier message: 26/10/2006, 17h44

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