height + line-height > vertical-align = вертикальное и горизонтальное выравнивание в блоке ;-)

block{
height:200px;
line-height:200px;
text-align:center;
}
block img{
vertical-align: middle;
}
3MMC

Leave a Reply

Your email address will not be published. Required fields are marked *


*