Home › Forum › Problemi Vari con WP › problemi temi con internet explorer
-
AutorePost
-
-
16 Gennaio 2009 alle 1:00 #9119dad388Partecipante
ciao a tutti
chiedo scusa se non è possibile fare questa cosa ma ho scoperto una cosa che quando ho iniziato a usare wordpress mi sarebbe servito sapere e quindi volevo aiutare chi avesse il mio problema.
Ora guardando per il forum non ho trovato una soluzione a questo problema, se fosse già stato trattato potete tranquillamente cancellare il post.
iniziamo
si sa che internet explorer non ascolta esattamente il css mentre firefox lo segue bene e in questo modi ci si trova ad avere un sito che con un browser si vede perfetto con l’altro tutto sballato, come fare a fregare internet explorer (dalla versione 6 in poi)?
bè basta settare il css per entrambi i browser, esempio:
<!-- posizione post per explorer-->
#content {
float: left;
width: 625px;
margin: 15px 0 15px 0;
}
<!-- posizione post per firefox-->
html>body #content {
float: left;
width: 625px;
margin: 180px 0 15px 0;
}
come vedete la parte di css per firefox (safari chrome opera) ha questa piccola aggiunta
html>body
questa piccola aggiunta però viene letta solo dai browser sopra citati mentre ie6 non ce la fa e lascia perdere pensando di testa sua.
quindi basta duplicare il codice aggiungere quelle due cose e modificare la posizione, grandezza ecc per i due browser.
ciao a tutti
-
3 Febbraio 2009 alle 15:28 #62161dozPartecipante
Si tratta di CSS ‘condizionali’, cioè quelli che – con diverse tecniche – agiscono in modo relativo al browser su cui viaggia l’utente …giusto?
-
3 Febbraio 2009 alle 19:30 #62165dad388Partecipante
più che una condizione internet explorer proprio salta a piè pari lo spezzone con html>body perchè non sa cosè.
-
16 Febbraio 2009 alle 17:09 #62796thesayan08Partecipante
Ciao a tutti, io chiedo scusa per l’ignoranza in materia ma anche il mio blog non viene visualizzato correttamente con internet explorer. E non trovo quella stringa di codice all’interno del css. Sapete darmi un mano?
Grazie in anticipo
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.