Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Пак си е същото.gLaVoReZa каза:Код:vertical-align : bottom;
Пробва ли така?
try it out! :?:<style type="text/css">
body {
font-family: arial;
}
#box {
width: 200px;
height: 200px;
font-size: 8pt;
vertical-align: bottom;
background-color: green;
position: relative;
}
#box span {
position: absolute;
bottom: 0;
margin: 0;
}
</style>
<div id="box"><span>This is text...</span></div>
Стана, но текста ми отиде в дясно.Liberate каза:try it out! :?:<style type="text/css">
body {
font-family: arial;
}
#box {
width: 200px;
height: 200px;
font-size: 8pt;
vertical-align: bottom;
background-color: green;
position: relative;
}
#box span {
position: absolute;
bottom: 0;
margin: 0;
}
</style>
<div id="box"><span>This is text...</span></div>
омг с какъв браузър си!?!?!? предполагам че искаше да напишеш ляво нали?Dizasterr каза:Стана, но текста ми отиде в дясно.Liberate каза:try it out! :?:<style type="text/css">
body {
font-family: arial;
}
#box {
width: 200px;
height: 200px;
font-size: 8pt;
vertical-align: bottom;
background-color: green;
position: relative;
}
#box span {
position: absolute;
bottom: 0;
margin: 0;
}
</style>
<div id="box"><span>This is text...</span></div>
Не текста замина в дясно. Иначе съм с ис Mozilla. Незнам пробвах с float: center, div align="center", <center></center> и нестава.Liberate каза:омг с какъв браузър си!?!?!? предполагам че искаше да напишеш ляво нали?Dizasterr каза:Стана, но текста ми отиде в дясно.Liberate каза:try it out! :?:![]()
Аз съм с Firefox последна версия и ми поставя текста вляво.Dizasterr каза:Не текста замина в дясно. Иначе съм с ис Mozilla. Незнам пробвах с float: center, div align="center", <center></center> и нестава.Liberate каза:омг с какъв браузър си!?!?!? предполагам че искаше да напишеш ляво нали?Dizasterr каза:Стана, но текста ми отиде в дясно.![]()
<style type="text/css">
body {
font-family: arial;
}
#box {
width: 200px;
height: 200px;
font-size: 8pt;
vertical-align: bottom;
background-color: green;
position: relative;
}
#box span {
position: absolute;
bottom: 0;
margin: 0;
left: 70px;
}
</style>
<div id="box"><span>This is text...</span></div>
left: 70px;
right: 70px;