ciao, ho 3 div che vorrei fossero allineati così: il 1° a sinistra, il 2° al centro, il 3° a destra.
il 1°sx e 3°dx sono a posto.
non so come far stare in mezzo il 2°...
ho provato:
margin: 0, auto
text-align:center
..ma niente. come si fa?
codice:
<div id="flags">
<div>
ENTRA
</div>
<div>
ENTER
</div>
<div>
ENTRAR
</div>
</div>
codice:
#1{
height: 27px;
width: 74px;
text-indent: 10000px;
overflow: hidden;
background: url(img/ita_off.jpg) top left no-repeat;
display: block;
float: left;
text-decoration: none;
}
#2{
height: 27px;
width: 74px;
text-indent: 10000px;
overflow: hidden;
background: url(img/eng_off.jpg) top left no-repeat;
display: block;
text-decoration: none;
}
#3{
height: 27px;
width: 84px;
margin-left:50px;
text-indent: 10000px;
overflow: hidden;
background: url(img/esp_off.jpg) top left no-repeat;
display: block;
float: right;
text-decoration: none;
}