CSS 标签 源代码
p标签都没有问题,但是b标签无法居中,这是什么问题呢?求解
源代码如下:
css设置 bbbbbb
aaaaa 回复讨论(解决方案)
B标签不能被居中,他只能改变字体的样式。跟这个相同的还有FONT,I,STONG等,SPAN也是。如果你实在想让他居中就加一个display:block;这个东西。才可以对他设居中。
谢谢,明白了
Statement: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