Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 15

Discussione: Maledetto Mozilla

  1. #1

    Maledetto Mozilla

    Prego guardare http://www.iopoetamultimediale.it/be...izie/prova.htm con IE e poi con Mozilla, perchè fa così?

    Il codice css è:

    codice:
    #Argomento {
    width: 980px;
    color: #EEEE00;
    background: #0000FF;
    }
    #Argomento h3 {
    margin: 0;
    }
    #Sottoargomento {
    width: 980px;
    border-top: solid 1px #000;
    border-left: solid 1px #000;
    border-right: solid 1px #000;
    }
    #Sottoargomento1 {
    width: 364px;
    height: 100px;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    float: left;
    }
    #Sottoargomento1 a {
    color: #000;
    text-decoration: none
    }
    #Sottoargomento2 {
    width: 100px;
    height: 100px;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    text-align: center;
    float: left;
    }
    #Sottoargomento3 {
    width: 100px;
    height: 100px;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    text-align: center;
    float: left;
    }
    #Sottoargomento4 {
    width: 200px;
    height: 100px;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    text-align: center;
    float: left;
    }
    #Sottoargomento4 a {
    color: #000;
    text-decoration: none
    }
    #Sottoargomento5 {
    width: 200px;
    height: 100px;
    border-bottom: solid 1px #000;
    text-align: center;
    float: left;
    }

  2. #2
    Perchè poveretto Mozilla.... è lui che interpreta correttamente il css e non IE! Comunque penso che l'errore derivi dal fatto che ripeti più di un id. Dovresti sostituirli
    con class se vuoi ripeteli.

    Ciao

  3. #3
    Ho messo class ma scompare il css

  4. #4
    invece di # devi mettere .

    .Sottoargomento5 {
    width: 200px;
    height: 100px;
    border-bottom: solid 1px #000;
    text-align: center;
    float: left;
    }

    prova a vedere anche qui:

    http://www.html.it/css/guida_css_09.htm

    Ciao

  5. #5
    E fin qui ci sono arrivato, grazie, ma i bordi laterali?

  6. #6

  7. #7
    Originariamente inviato da poeta1978
    E fin qui ci sono arrivato, grazie, ma i bordi laterali?
    L'ordine è

    codice:
    border-bottom: 1px solid #000;
    non

    codice:
    border-bottom: solid 1px #000;

  8. #8

  9. #9

  10. #10
    Riporto il css completo:

    codice:
    .Menu1 {
    width: 980px;
    text-align: right;
    }
    .Menu2 {
    width: 980px;
    text-align: center;
    }
    .Argomento {
    width: 980px;
    color: #EEEE00;
    background: #0000FF;
    border: 1px solid #000;
    }
    .Argomento h3 {
    margin: 0;
    }
    .Sottoargomento {
    width: 980px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    background: #EEE;
    }
    .Sottoargomento1 {
    width: 364px;
    height: 100px;
    background: #EEE;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    float: left;
    }
    .Sottoargomento1 a {
    color: #000;
    text-decoration: none
    }
    .Sottoargomento2 {
    width: 100px;
    height: 100px;
    background: #EEE;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    float: left;
    }
    .Sottoargomento3 {
    width: 100px;
    height: 100px;
    background: #EEE;
    border-right: solid 1px #000;
    border-bottom: 1px solid #000;
    text-align: center;
    float: left;
    }
    .Sottoargomento4 {
    width: 200px;
    height: 100px;
    background: #EEE;
    border-right: solid 1px #000;
    border-bottom: 1px solid #000;
    text-align: center;
    float: left;
    }
    .Sottoargomento4 a {
    color: #000;
    text-decoration: none
    }
    .Sottoargomento5 {
    width: 200px;
    height: 100px;
    background: #EEE;
    border-bottom: 1px solid #000;
    text-align: center;
    float: left;
    }
    .Sottoargomento5 a {
    color: #000;
    text-decoration: none
    }
    La pagina da vedere coi due browser è http://www.iopoetamultimediale.it/bellenotizie/forum/

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.