Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

[RESOLU]Pb affichage des vignettes avec gallery
#7

Tu as raison Bess, lorsque je mets ce code dans la div back1 je n'ai plus le problème de bas des block main après les galeries. Par contre ça fout le b..... dans l'affichage à savoir que tous le bloc main s'affiche en dessous de la sidebar certes à sa place à droite mais juste après le sidebar.


Voici le code css avant l'ajout de ton code :
Code :
div#content {
/* some air above and under menu and content    */
    margin: 1.5em auto 2em 0;
    padding: 0px;
}

/* this gets all the outside calls that were used on the div#main before  */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
    margin-left: 29%;
/* and some air on the right
    margin-right: 2%;*/
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
    float: right;
    width: 69%;
/* and we take this out or it will stop at the bottom  */
    margin-left: 0%;
/* and some air on the right */
    margin-right: 10px;
}
div.back2 {

Voici avec ton code :

Code :
div#content {
/* some air above and under menu and content    */
    margin: 1.5em auto 2em 0;
    padding: 0px;
}

/* this gets all the outside calls that were used on the div#main before  */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
    margin-left: 29%;
        float: right;
        width: 72%;
/* and some air on the right
    margin-right: 2%;*/
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
    float: right;
    width: 69%;
/* and we take this out or it will stop at the bottom  */
    margin-left: 0%;
/* and some air on the right */
    margin-right: 10px;
}
div.back2 {


J'avais essayé il y a 6 à 8 mois d'enlever ces div back1 2 et 3 pour simplifier mais je n'ai pas réussi à reproduire l'affichage que je voulais sans ces div. Donc je les ai remises.
Sujet fermé


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 3 visiteur(s)