我有一个 div;标题,另一个称为 headerimg 包含图像。我试图在调整页面大小时使标题图像粘在标题(水平线)的底部。这是我的代码:
.header{
float:right;
width:93%;
height:100px;
padding-right:0px;
background-image:url('img/barhorizontal.gif');
background-repeat:repeat-x;
background-position:bottom;
postion:relative;
}
.headerimg{
bottom:0;
postion:absolute;
}
.headerimg img{
width:45%;
height:auto;
}
但它不起作用。这是我的网站:点击
有什么帮助吗?