Witam,
mam obrazek, który ma robić za przycisk, napisałem na nim HOME, po zrobieniu text-align: center; tekst w poziomie jest na środku, ale w pionie jest na samej górze ;/
HTML:
<div id="menu">
<div id="poziome">
<p style="position:relative; top:20px;">HOME</p>
</div>
</div>
CSS:
#menu {
height: 50px;
align:center;
}
#poziome {
height: 45px;
width: 100px;
background-image: url('menu/menu1.png');
text-align:center;
position:relative;
}
Próbowałem valign i nic nie pomaga ;/ Co zrobić aby tekst dać bardziej na dół?