主站点导航与博客脚本 CSS 发生冲突
www.test.webitry.net 是我安装在博客上的主站点导航和标题脚本以便将其与主站点集成。主站点导航被穿过链接的白线阻碍,并且也影响了翻转。请参阅附图。
可能导致此冲突的原因是什么?
At www.test.webitry.net is a a main site navigation and header that I have installed onto a blog script so as to integrate it with the main site. The main site navigation is being snagged by a white line passing through the links and it is is also impacting on the rollover. See image attached.
What could be causing this clash?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有序列表标记 (
) 内有一个中断标记 (
),这是格式错误的 HTML,不应执行此操作。唯一应该位于
内的标签是标签是- 标签。
尝试删除这里的 border-bottom...
如果你不想要白线,它不应该出现在 CSS 中。
此外,您的所有链接样式都在底部带有边框,您可能需要专门为导航链接设置该属性,以便不会“拾取”常规锚点属性。
You have a break tag (<br style="clear:both" />) inside the ordered list tag (<ol>) that's malformed HTML and should not be done. The only tags which should be inside an <ol> tags are <li> tags.
Try removing the border-bottom here as well...
If you don't want the white line, it shouldn't be in the CSS.
In addition, you have all links styled with a border on the bottom, you may need to specifically set that attribute for the navigation links so the general anchor properties are not "picked up".