我在页脚中有一个小文本。文本右对齐,但我希望文本稍微向上移动?我怎样才能做到这一点?我的代码
#foot tag {
width:1000px;
height:30px;
padding:10px;
border:5px solid white;
margin:0px;
text-align:right;
padding-top: 10px;
}
最佳答案
#foot tag {
width:1000px;
height:30px;
padding:10px 10px 20px 10px;
/* You can adjust the above 4 values to add padding to top, right, bottom and left */
border:5px solid white;
margin:0px;
text-align:right;
}
关于css - 如何向上移动 CSS 页脚中的文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22214557/