我猜这里有一个基本的错误,但我不明白为什么我的底部定位被覆盖。 .link
不在身体之外。CSS,试图使超链接对齐底部
body {
font-family: Century Gothic, Arial;
background-color: #836FFF;
margin: 0 auto;
text-align: center;
}
.header {
margin: 0 auto;
width: 910px;
background-color: #6A5ACD;
font-size: 60px;
color: #473C8B;
}
.t1 {
margin: 20px auto 0px auto;
padding: 10px;
font-size: 16px;
font-weight: bold;
color: #473C8B;
text-align: center;
padding-top: 20px;
}
.link {
position:absolute;
bottom:5px;
left:5px;
}
你的html是什么? –
你不应该在'body'标签之外有真正的锚点标签。 – Alex
尝试在'body {}中放置'position:relative'如果我正确理解你的话 – mpen