所以,我正在尝试使用position:fixed(类似导航栏)将图像固定在页面底部。问题在于,我在页面中央有一些文本,当我缩放时,这个图像会遮挡一些文本,导致无法看到。
CSS:
.bottom {
display: block;
position:fixed;
width:100%;
height: 70px;
bottom: 0px;
}
p.BrunchENG_TXT{
padding-top: 20px;
text-align: justify;
margin: 0 auto;
width: 60%;
color:#7b0d4c;
font-family:"Verdana";
}
HTML:
<div>
<p class="BrunchENG_TXT">
<b>Brunch</b>
</br>
The weekends are holydays, giving us the chance to share special moments with the people we love the most….We welcome everybody each Sunday starting 11 o’clock so that all of you can enjoy fully this precious time and recharge with healthy food and energy for the day….Welcome to the Sunday Bruch @ Mumbai Burgas - the menus are composed with special attention to the children and the vegetarians and are published well in advance on our FB page.
</p>
<div>
<img src="images/repetB.jpg" class="bottom">
</div>
</div>