Home › Forum › Problemi Vari con WP › problema nella disposizione del testo rispetto alle immagini
-
AutorePost
-
-
26 Aprile 2008 alle 13:58 #6468madgrinPartecipante
Ciao a tutti,
da poco ho cambiato il tema del mio blog adottando e personalizzando Dilectio.
Mi piace molto ma ieri ho incontrato un problema che, penso, possa dipendere dal CSS ma, non essendo un esperto dei fogli di stile, mi risulta difficile correggerlo (sempre che il problema sia questo!).
Ho provato a scrivere un post in cui si ripetevano:
TESTO 1
IMMAGINE
TESTO 2
e poi di nuovo lo stesso blocco.
Il risultato voluto sarebbe dovuto essere questo:
ma ottenevo questo:
anche usando l’editor HTML e usando esplicitamente tag <br> o <p> o
non sono riuscito a correggere il problema.Ho tamponato usando le tabelle però vorrei risolvere il problema alla radice …
Qualche idea??
GRAZIE!
-
26 Aprile 2008 alle 16:01 #52966ondapiPartecipante
fino a 2.3 da editor proprietà immagine e scegli l’allineamento, margini, bordi
alcune opzioni puoi invece già settarle dal css
2.5 non penso cambi molto
-
27 Aprile 2008 alle 2:04 #52987madgrinPartecipante
Ciao ondapi,
grazie della risposta!
Purtroppo avevo già provato a impostare le proprietà dell’immagine, ma senza risultati!
Ho provato qualsiasi voce (non impostato, linea base, alto, ecc.) ma senza successo.
L’editor pretende di scrivere il testo accanto all’immagine!
Deve essere qualcosa a livello di tema / css …
Mi dicevi che posso settarle anche dal css, in che senso?
Modificando il file style.css ?
Ma come?
Ciao e grazie!
-
27 Aprile 2008 alle 13:21 #53005
-
27 Aprile 2008 alle 14:08 #53011ondapiPartecipante
prova ad aggiungere float: left;
-
27 Aprile 2008 alle 15:43 #53015madgrinPartecipante
Prova fatta ma è stata fallimentare!
Tutte le img si sono disallineate e sono dovuto tornare alla vecchia versione dello style.css.
Soffro … :'(
Qualche altra idea?
-
27 Aprile 2008 alle 15:52 #53016ondapiPartecipante
non capisco, su http://www.madgrin.com/ vedo le immagini allineate ora a dx ora a sx dovè il problema
-
27 Aprile 2008 alle 16:05 #53017madgrinPartecipante
Il problema è che riesco a mettere il testo a destra o a sinistra dell’immagine ma non riesco a mettere il testo sotto l’immagine! :'(
Cioè, se vedi il mio primo post di questo thread, noti che le frasi:
Cmq tra molto molti mesi
e
2) un posto che vorrei visitare
si posizionano accanto all’immagine e non sotto!
-
27 Aprile 2008 alle 16:07 #53018silvanaPartecipante
togli i center nel css delle img (sei + libero di impostarle di volta in volta)
controlla il css del post (box, content o dove vuoi fare sta cosa)
magari hai qualche altro align che ti impedisce di gestire le immagini e testo come vuoi
-
27 Aprile 2008 alle 16:12 #53021SteveAglAmministratore del forum
ed allora come hai fatto a fare questo articolo?
Con testo prima e dopo l’immagine?
Non è che quelloc he non riesci ad allineare lo incolli da altri programmi vero?
-
27 Aprile 2008 alle 16:15 #53023ondapiPartecipante
con firefox e ie7, io continuo a vedere le immagini correttamente impostate con il testo che torna sotto dopo l’allimeamento, mi pare che ci sia un maggiore bordo nello spazio inferiore della foto rispetto ai lati
-
27 Aprile 2008 alle 16:18 #53024SteveAglAmministratore del forum
Forse è il cso che ci dia il link all’articolo con i problemi, e s non c’è l’articolo lo crei!
-
27 Aprile 2008 alle 17:00 #53031madgrinPartecipante
Non scappate … arriva subito il link!
-
27 Aprile 2008 alle 17:06 #53035madgrinPartecipante
Ecco,
la pagina è questa:
http://www.madgrin.com/2000/01/01/prova-prova-prova/
il codice html che uso è:
PROVA!
RIGA 1, l'immagine è messa alla riga nuova
RIGA 2, dovrebbe essere sulla riga nuova
RIGA 3, su un'altra riga
Nelle pagine, invece, lo stesso codice si formatta bene:
http://www.madgrin.com/appo/pagina.jpg
Se svelate l'arcano vi devo una birra!
-
27 Aprile 2008 alle 17:07 #53036madgrinPartecipante
Uhm volevo mettere il codice html ma ho sbagliato a usare il tag code, sorry …
-
27 Aprile 2008 alle 17:10 #53037SteveAglAmministratore del forum
Non ci siamo capiti, quel codice come vedi.. è giusto e fa quel che deve… come vedi… se da te non si impagina VOGLIO un link al tuo blog ad una articolo con le cose di cui sopra che non impagina correttamente, per poter vedere il sorgente HTML (Non osare postarlo qua, voglio il link e basta)
-
27 Aprile 2008 alle 17:16 #53039madgrinPartecipante
Non va bene quello che t’ho scritto all’inizio del messaggio??
Ecco,
la pagina è questa:
-
27 Aprile 2008 alle 17:20 #53041SteveAglAmministratore del forum
opps colpa mia … sorry
-
27 Aprile 2008 alle 17:22 #53042madgrinPartecipante
Figurati!
-
27 Aprile 2008 alle 17:29 #53045SteveAglAmministratore del forum
ohhh ecco… ora si, allora in
http://www.madgrin.com/wp-content/themes/dilectio/style.css
alla linea 123 per la classe .PostContent img leggo un bel float: left; che ovviamente fa flottare le immagini a sinistra dando il risultato indicato… eliminandolo.. le immagini non flotteranno e le impostazioni dall’editor saranno quelle che vuoi tu, comunque se avessi impostato da editor l’allineamento al centro e il testo base questi essendo stili in linea avrebbero la precedenza sul foglio stile.
Postavi subito il link di esempio perdevamo meno tempo tutti
-
27 Aprile 2008 alle 17:58 #53050madgrinPartecipante
Cassare il float: left; ha sortito l’effetto sperato!
Prima di cassarlo ho anche provato (ma l’avevo anche fatto nel passato, cmq x sicurezza ci ho riprovato!) a impostare le proprietà dell’immagine ma senza risultato.
Cmq il risultato è stato raggiunto e VI RINGRAZIO TUTTI tantissimo!
Se passate x Roma fatevi sentire x la birra!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.