Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it L'avatar di Manson
    Registrato dal
    Feb 2001
    Messaggi
    70

    Con mozilla viene diverso e non so perché

    Ciao a tutti!

    Ecco il mio sito, o meglio una pagina in particolare:
    http://stefanonet.altervista.org/clanwars.shtm

    Il problema sta nel fatto che con explorer lo vedo tutto centrato, mentre con mozilla di centrato vedo solo l'header, il resto tutto a sinistra...

    Ho impostato nei CSS il text-align su center per i tag <div> ma forse mozilla non lo interpreta o c'è qualcosa che non va, scommetto che si tratta di una sciocchezza ma non riesco ad arrivarci, chi mi dà una mano? se serve posso postare il sorgente di stile.css
    Caro Linux, ti reinstallerò, è una promessa!

  2. #2
    Utente di HTML.it L'avatar di Manson
    Registrato dal
    Feb 2001
    Messaggi
    70

    stile.css

    body {
    background: #000000;
    margin: 0px 0px 0px 0px; font-size: 8pt; color: #FFFFFF; font-family: verdana, arial, sans-serif;
    background-image: url(images/tcbg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    }
    a:link {
    color: #ffffbe; font-size: 8pt; text-decoration: none;
    }
    a:visited {
    color: #ffffbe; font-size: 8pt; text-decoration: none;
    }
    a:active {
    color: #cccccc; font-size: 8pt; text-decoration: none;
    }
    a:hover {
    color: #cc0000; font-size: 8pt; text-decoration: none;
    }
    td {
    font-size: 8pt; color: #FFFFFF; font-family: verdana, arial, sans-serif;
    }
    img {
    border: none;
    }
    img.gicon {
    border: none;
    width: 13px;
    height: 13px;
    }
    img.flag {
    border: none;
    width: 18px;
    height: 12px;
    }
    img.cb {
    border: none;
    width: 22px;
    height: 10px;
    }
    img.fic {
    border: none;
    width: 18px;
    height: 12px;
    }
    img.result {
    border: none;
    width: 15px;
    height: 12px;
    }
    img.cup {
    border: none;
    width: 16px;
    height: 13px;
    }
    img.ladder {
    border: none;
    width: 11px;
    height: 13px;
    }
    img.barra {
    border: none;
    width: 110px;
    height: 14px;
    }
    img.photo {
    border: none;
    width: 88px;
    height: 88px;
    }
    p {
    text-align: center;
    }
    p.silver {
    text-align: center;
    color: #cccccc;
    }
    p.red {
    text-align: center;
    color: red;
    }
    p.gold {
    text-align: center;
    color: #ffff00;
    }
    p.green {
    text-align: center;
    color: #64d200;
    }
    p.bronzo {
    text-align: center;
    color: #cc6600;
    }
    div {
    text-align: center;
    }
    td.barra {
    font-size: 8pt; color: #ffffff; font-family: verdana, arial, sans-serif;
    text-align: center;
    background: url(images/barra.jpg);
    height: 20px;
    border: 1px solid #333333;
    }
    td.country {
    text-align: center;
    }
    td.game {
    text-align: center;
    }
    td.match {
    text-align: center;
    }
    td.result {
    text-align: center;
    }
    td.title {
    text-align: center;
    font-weight: bold;
    }
    td.date {
    text-align: center;
    font-style: italic;
    }
    td.enemy {
    text-align: center;
    font-size: 7pt;
    }
    td.won {
    text-align: center;
    background-color: #009933;
    }
    td.lost {
    text-align: center;
    background-color: #800000;
    }
    .bolditalic {
    font-weight: bold;
    font-style: italic;
    }
    .bold {
    font-weight: bold;
    }
    .bold2{
    font-size: 10pt;
    font-weight: bold;
    font-family: verdana, arial, sans-serif;
    }

    #alta {
    width: 600px;
    }
    #tabcentrale {
    border: 1px solid #333333;
    width: 600px;
    height: 400px;
    }
    #over{
    width: 480px;
    vertical-align: top;
    }
    #menusx{
    width: 120px;
    vertical-align: top;
    background-color: #333333;
    }
    table.cw{
    border: 1px solid #333333;
    padding: 2px;
    width: 98%;
    }
    Caro Linux, ti reinstallerò, è una promessa!

  3. #3
    Utente di HTML.it L'avatar di Francis87
    Registrato dal
    Jun 2003
    Messaggi
    5,970
    imposta anke

    codice:
    align: center;
    oltre a text-align ke allinea il testo (tutto in IE)

    Heaven's closed. Hell sold out.

    Linux 2.6.26-2-amd64
    Debian squeeze

  4. #4
    Utente di HTML.it L'avatar di Manson
    Registrato dal
    Feb 2001
    Messaggi
    70
    Originariamente inviato da Francis87
    imposta anke

    codice:
    align: center;
    oltre a text-align ke allinea il testo (tutto in IE)

    grazie per la celere risposta, ma continua anke impostando align: center; a visualizzarmi a sinistra il resto, mentre con IE lo vede bene...
    Caro Linux, ti reinstallerò, è una promessa!

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.