【发布时间】:2018-09-10 11:02:56
【问题描述】:
我正在制作一个网站,我想要一个包含我们组的一些基本信息(地址、联系信息等)的页脚。我用来制作页脚的实际方法可能有缺陷(如果有请纠正我是)但我的主要问题是文本。我想要标题为“问题、评论或意见?”的文本。拥抱页脚的顶部。我还希望添加到页脚的任何其他文本也能做到这一点。我不知道该怎么做。我的代码和我所描述的图片如下。 This is the picture of what the footer looks like so far.
HTML:
<footer id="footer">
<ul class="footer-text">
<li class="footer-title">Address</li>
<li>place holder</li>
<li>place holder</li>
<li>place holder</li>
<li>place holder</li>
</ul>
<ul class="footer-text">
<li class="footer-title">Questions, Comments, or Conserns?</li>
<li>place holder</li>
</ul>
</footer>
CSS:
#footer {
background:#F6F7F9;
bottom:0;
height:17%;
position:absolute;
width:100%;
}
.footer-text {
display:inline-block;
font-size: 12px;
list-style-type: none;
}
.footer-title {
font-size:14px;
text-decoration: underline;
}
【问题讨论】:
-
不是答案,但拼写为“关注”。