Hello everyone I have a div area which has position fixed. And I have another div which I call "page" and contains fixed div. But when I check my design with different resolution every others divs fit to my "page" div but fixed position div can't fit my page div.
Here is my div:
.page {
width: 964px;
margin-top:6px;
margin-left: auto;
margin-right: auto;
background-image:url(../images2/images/orta_alan_bg_GOLGE.png);
background-repeat:repeat-y;
}
Position fixed div
#rocket_left
{
width:127px;
height:148px;
background-image:url(../../images2/images/tapinak_resim.jpg);
top:244px;
left:73px;
position:fixed;
}
您可以通过使用%的边距,填充,位置而不是固定像素来使其正确
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.