Home › Forum › Problemi Vari con WP › Problema posizionamento immagini
-
AutorePost
-
-
14 Febbraio 2009 alle 15:07 #9481gardawebPartecipante
Salve
ho un problemino che non so risolvere, forse o quasi sicuramente è legato al css. In pratica ho diverse pagine contenti 6 immagini a fine articolo. Queste però escono dallo sfondo del mio articolo. Qui si vede meglio il problema:
Come si può vedere, lo sfondo bianco è quello del contenitore dell’articolo che è stato scritto e, alla fine ho le 6 immagini formattate a sinistra. In teoria però il contenitore dovrebbe finire dopo le immagini ….
Questo è il pezzetto di codice css che regola queste immagini:
.alignleft {
float: left;
margin: 5px 20px 20px 5px;
}
.alignright {
float: right;
margin: 0 0 20px 20px;
}
.aligncenter {
margin: 0 auto;
}
e questo è il pezzo di codice del contenitore per l'articolo:
.post {
background-image: url(images/bg_tit.gif);
background-repeat:no-repeat;
background-position:top center;
padding: 10px 15px 15px 15px;
margin: 0 0 30px 0;
background-color:#FFF;
border: 1px solid #bfbbaf;
}
Qualcuno mi sa aiutare per cortesia? Ho provato anche le formattazioni a disposizione nella popup delle immagini del pannello, ma per averle formattate bene, l'unica è lasciarle con l'impostazione a sinistra.
Ringrazio da subito per l'aiuto.
Ciaoo
Ermes
-
14 Febbraio 2009 alle 15:45 #62721SteveAglAmministratore del forum
Link ad una pagina dove si veda il problema.
-
14 Febbraio 2009 alle 15:47 #62722gardawebPartecipante
-
14 Febbraio 2009 alle 16:14 #62725SteveAglAmministratore del forum
Non capisco perchè… richiederebbe un po’ di tempo per struduarci sopra, ma è il floata dell’allign left che da problemi.
-
14 Febbraio 2009 alle 16:28 #62727gardawebPartecipante
Avevo pensato anche io fosse quell’alignleft che rompesse, ho provato altre impostazioni nel css, ma nulla da fare. Però, se io aggiungo del testo dopo le immagini, tutto si sistema… Il problema è che vogliono vedere le immagini a fondo pagina i proprietari del sito.
Se riesci a capire tu (se hai tempo e voglia naturalmente) come poter risolvere, te ne sarei grato perchè io altre idee non ho al momento
Ciaoo, grazie
Ermes
-
14 Febbraio 2009 alle 17:06 #62730SteveAglAmministratore del forum
al massimo metti un alla fine delle foto
-
14 Febbraio 2009 alle 17:43 #62733gardawebPartecipante
Giusto capperinooo, non ci avevo proprio pensato!! Ho messo un’immagine filetto come quelle che dividono i vari contenuti tutto a posto adesso…
Grazie millle!
Ciaoo
Ermes
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.