gpt4 book ai didi

html - 位置 : Fixed Div Covers Images

转载 作者:可可西里 更新时间:2023-11-01 13:50:08 25 4
gpt4 key购买 nike

因此,我试图将图像固定在页面底部,位置为:固定(有点像导航栏)。问题是我在页面中央某处有文本,当我缩放时,此图像覆盖了部分文本并且看不到。

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>

最佳答案

我使用了 margin-bottom: 100px; 并且成功了!

关于html - 位置 : Fixed Div Covers Images,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35989972/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com