-
| .
|
|
|
Ho visto su molti forum le statistiche affiancate e devo dire che sono di grande effetto, mi piacerebbe farlo su questa skin, il mio codice è questo, cosa dovrei modificare?
CODICE /* STATISTICHE */ .stats .left {opacity: 0.5}
.stats .list .aa, .stats .list .zz {line-height: 99%; font: 12px; background: transparent !important} #board .stats .list > * {background-color: #CDDDE8; border: 0 solid #EFEFEF; box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; border-radius: 0; -moz-border-radius: 0; margin-bottom: 10px; margin-top: 5px; padding: 5px}
#board .stats .skin_tbl.top .mtitle {background: transparent !important}
#board .stats .zz {font: italic 14px calibri, arial; font-weight: bold; letter-spacing: .05em} #board .stats {margin-top: 35px; background: #B8D0DE} #board .stats .skin_tbl.top {border: 0; border-radius: 0 0 0 0; -moz-border-radius: 0 0 0 0} #board .stats .skin_tbl.bottom {border-top: 0 dashed #EFEFEF; border-radius: 0 0 0 0; -moz-border-radius: 0 0 0 0} #board .stats .mback {border: 0; border-radius: 0; -moz-border-radius: 0} #board .stats .top .mback {border-radius: 0 0 0 0; -moz-border-radius: 0 0 0 0} .stats .skin_tbl.bottom .mback {display: none} .stats .skin_tbl.bottom {margin-top: 5px}
|
|
| .
|
-
| .
|
|
|
Il codice è solo questo, da aggiungere:
CODICE #board .stats .skin_tbl.top {width: 50%; float: left; } #board .stats .skin_tbl.bottom {width: 50%; margin-left: 50%;}
=)
Ti avverto di una cosa però, può capitare che se hai gli ultimi visitatori la parte destra è più lunga della sinistra con gli utenti attivi e potrebbe cadere sulla pubblicità, risolvi tutto con un margin-bottom al .board .stats..
|
|
| .
|
-
| .
|
|
|
Grazie spiker ^^ credo di aver capito, provo e ti faccio sapere!
|
|
| .
|
-
| .
|
|
|
Praticamente si tratta di stringere le righe e di affiancarle con un float right, l'unica cosa è che dopo vanno sistemate un pò di cose poichè non hanno altezze uguali =)
|
|
| .
|
3 replies since 3/8/2013, 21:14 501 views
.