Программисты Html
Anonymous
Как я могу выравнивать текст с вершины Div?
Сообщение
Anonymous » 11 июн 2025, 14:09
У меня проблемы с выравниванием моего текста с топа Divs. Как я могу сделать текст выравнивать вертикально из центра .txt div? < /P>
Код: Выделить всё
#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;
}< /code>
[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
1749640170
Anonymous
У меня проблемы с выравниванием моего текста с топа Divs. Как я могу сделать текст выравнивать вертикально из центра .txt div? < /P> [code]#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; }< /code> [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.. [/code] Подробнее здесь: [url]https://stackoverflow.com/questions/15600772/how-can-i-align-align-text-from-top-of-a-div[/url]