jsfiddle 不显示我的 css
我是第一次使用 jsfiddle,它似乎无法识别 css 样式。它也不显示标签内的元素。
这是保存的 jsfiddle 页面: http://jsfiddle.net/s5LXc/
有什么我可以做的吗?在那里做错了以获得我所做的意想不到的结果吗?
谢谢!
I am using jsfiddle for the first time, and it doesn't seem to recognize the css styles. It also does not display the elements withing the tag.
Here is the saved jsfiddle page for it: http://jsfiddle.net/s5LXc/
Is there anything that I did wrong there to get the unexpected result that I did?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
检查这个工作小提琴: http://jsfiddle.net/s5LXc/2/
你错过了你的最外层类为“
nav_bar
”的DIV
容器。您的 HTML 结构至少在一个地方也存在格式错误,例如(倒置的
SPAN
和FORM
标记):Check this working fiddle: http://jsfiddle.net/s5LXc/2/
You were missing your outermost
DIV
container with a class of "nav_bar
".Your HTML structure is also malformed in at least one place, such as (inverted
SPAN
andFORM
tags):您显示了“nav_bar”类,但您的 html 中没有这样的东西。
You show a class of 'nav_bar' but there is no such thing in your html.
您在导航容器中使用了错误的类。
而不是
You're using the wrong class in your nav container.
Instead of
有一点是肯定的:您在 CSS 中多次引用
nav_bar
类,但它根本不会出现在您的 html 中。One thing's for sure: you reference the class
nav_bar
a lot in your css, but it doesn't appear in your html at all.