Html 根据文本下方的文本使文本向上或向下推
如果我在自上而下的列表中有一系列文本,比如,演员,标题,关于 大约可以是大的也可以是小的。如果cast在下面,那么无论cast中有多少文本,我如何始终保持cast在下面 HTMLHtml 根据文本下方的文本使文本向上或向下推,html,css,Html,Css,如果我在自上而下的列表中有一系列文本,比如,演员,标题,关于 大约可以是大的也可以是小的。如果cast在下面,那么无论cast中有多少文本,我如何始终保持cast在下面 HTML 一些很棒的电影标题 116分钟| PG-13 关于东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东
一些很棒的电影标题
116分钟|
PG-13
关于东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西东西
演员阵容:
语言:
从子元素的CSS中取出位置:绝对。请参见谢谢,但我可以控制每个文本项之间的间距
#detail_center{position: absolute; height: 615px;left: 369px;top: 155px;width: 751px;}
#detail_center .title{position: absolute; top: 84px; left: 266px; font-size: 26px; color: black;}
#detail_center .runtime{position: absolute; top: 130px; left: 266px; font-size: 16px; color: black;}
#detail_center .icon-detail-bar{}
#detail_center .rating{position: absolute; top: 130px; left: 340px; font-size: 16px; color: black;}
#detail_center .synopsis{position: absolute; top: 160px; left: 266px; font-size: 16px; color: black;}
#detail_center .cast{position: absolute; top: 220px; left: 266px; font-size: 16px; color: black;}
#detail_center .lang{position: absolute; top: 290px; left: 266px; font-size: 16px; color: black;}
<div id="detail_center">
<div class="title">Some awesome movie title</div>
<div class="runtime">116 mins |</div>
<div class="rating">PG-13</div>
<div class="synopsis"> about stuff and stuff stuff and stufff and stuff stuff and stutuff and stuff stuff and stuff stuff and stuff stuff and stuff stuff and stuff</div>
<div class="cast">CAST:</div>
<div class="lang">LANGUAGES:</div>
</div>