Home  >  Article  >  Web Front-end  >  CSS样式有什么规定吗?_html/css_WEB-ITnose

CSS样式有什么规定吗?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:05:241287browse


我检查过链接什么的都是可以的,为什么单单这段不能用?


回复讨论(解决方案)

怎么个不行,li 为什么没有ul包含。再给它设个宽度试一下。

检查下html结构 看下css是不是覆盖了

怎么个不行,li 为什么没有ul包含。再给它设个宽度试一下。


感觉没什么作用,加了ul、设了宽度还是一样。

检查下html结构 看下css是不是覆盖了


不知道怎么看结构,感觉也没什么覆盖的。


怎么个不行,li 为什么没有ul包含。再给它设个宽度试一下。


感觉没什么作用,加了ul、设了宽度还是一样。

你截图的区域有ul吗?能行才怪了.你根本没写ul

另外: 你的div在td中, 要注意一下td中的样式,会不会对下面的元素有影响,或者你还是把代码贴出来吧。

把代码粘贴出来,看看

注解写错了
css中的注解只能用 /*    */ 不能用 // 否则会造成语法错误

注解写错了
css中的注解只能用 /*    */ 不能用 // 否则会造成语法错误


万分感谢。
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