无标题文档 一定float left
我怎么样才能让两个span在b中水平居中而且顶部不超过b呢????????
回复讨论(解决方案)
span{
padding:10px;
border:#999 solid 1px;
display: inline-block;
}
span{
padding:10px;
border:#999 solid 1px;
line-height: 40px;
}
span 里面加display: inline-block; 就可以饿了
无标题文档
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn