Как я могу выровнять текст по верху div?CSS

Разбираемся в CSS
Anonymous
 Как я могу выровнять текст по верху div?

Сообщение Anonymous »

У меня проблема с выравниванием текста по верху элементов div. Как я могу выровнять текст по вертикали от центра .txt div?

Код: Выделить всё

#content #main #services {
width: 1010px;
height: auto;
min-height: 320px;
margin: 50px auto;
}

#content #main #services .langelis {
width: 510px;
height: auto;
min-height: 140px;
position: relative;
border: 1px #000 solid;
}

#content #main #services .langelis .icon {
width: 65px;
min-height: 140px;
height: auto;
float: left;
border: 1px #000 solid;
}

#content #main #services .langelis .txt {
width: 440px;
height: auto;
float: left;
border: 1px #000 solid;
}

Код: Выделить всё



[img]images/knyg.jpg[/img]

Lorem Ipsum
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s..






Подробнее здесь: https://stackoverflow.com/questions/156 ... p-of-a-div

Вернуться в «CSS»