您好我正在尝试将图像设置为锁定,这意味着我希望图像不能被移动,尽管网站最小化。
我的CSS:
- (UIView*)tableView:(UITableView*)tableView viewForFooterInSection:(NSInteger)section
{
return [[UIView alloc] initWithFrame:CGRectZero];
}
HTML:
.header-shadow{
background-image: url('../images/aTOP1.png');
background-repeat: no-repeat;
width:180px;
height:180px;
left: 348px;
top: 705px;
position: absolute;
display: block;
}
移动的图像:
答案 0 :(得分:0)
.header-shadow{
background-image: url('../images/aTOP1.png');
background-repeat: no-repeat;
width:180px;
height:180px;
left: 348px;
top: 705px;
position: fixed;
display: block;
}