Html 我该如何让这个div进入另一个div的底部?
再一次为学校制作一个网站,我试图让我的测试版进入我的内容版的底部,但似乎无法让它工作Html 我该如何让这个div进入另一个div的底部?,html,Html,再一次为学校制作一个网站,我试图让我的测试版进入我的内容版的底部,但似乎无法让它工作 如果你能帮我的话,这是一个在线网站。干杯。只需添加页边距顶部:440px至#测试 更好的选择是这样做: #test { width: 970px; border: 1px solid #000000; margin-bottom: 0px; height: 160px; position: absolute; display: block; bottom:
如果你能帮我的话,这是一个在线网站。干杯。只需添加
页边距顶部:440px代码>至#测试
更好的选择是这样做:
#test {
width: 970px;
border: 1px solid #000000;
margin-bottom: 0px;
height: 160px;
position: absolute;
display: block;
bottom: 0;
}
#content {
border: 1px solid #000000;
padding: 10px;
margin-left: 14px;
margin-top: 5px;
width: 972.8px;
height: 600px;
position: relative;
background-color: #8467D7;
}
干杯,小伙子。非常感谢:)