Home >Web Front-end >HTML Tutorial >Please solve a compatibility issue. _html/css_WEB-ITnose

Please solve a compatibility issue. _html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:14:491149browse

  
出问题的是这段。










下面是针对这段的 css
body的 css是这样的: 我有设置过text?algin 居中 但是不行





回复讨论(解决方案)

把运行后的源码和css贴上来  这样是没法看的 


太乱了..

在html中,想要居中,必须声明:HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd">,然后在css中使margin-left的值和margin-right的值相等就可以解决居中的问题了。

把css代码贴出来,这样谁知道你哪有问题!

把css代码贴出来,这样谁知道你哪有问题! 我按太快。发了2个贴子!!!

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