Salve. Date un'occhiata a QUESTA PAGINA.
COme vedete nella barra del titolo a centro pagina, c'è il titolo che però non è centrato.
Questo è il pezzo di codice nella pagina html:
codice:<div id="content"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#313131"><tr align="center" valign="middle" bgcolor="#313131"><td width="600" height="1000" align="left" valign="top" bgcolor="#313131"><div align="center" class="title"><p class="titolo"> <? echo get_content($includes[title]); ?></p> </div> <div align="center"> <? echo get_content($includes[content]); ?> </div>
e questo nel css:
.codice:#content { background-color: #313131; background-position: left top; height: 1000px; width: 805px; margin-top: 0px; margin-left:102px; text-align: center; text-valign: top; vertical-align: top; } .contentarea { background-color: #313131; } .title { font-weight: bold; background-image: url(images/titolo.gif); text-align: center; align: center; height: 45px; width: 600px; background-repeat: no-repeat; margin-top: 0px; margin-left: 0px; } #titolo { text-align: center; vertical-align: top; margin-top: 1px; margin-left: 10px; }
Vorrei centrare verticalmente il titolo nella barra. COme faccio? Grazie

Rispondi quotando

