是什么导致这个导航栏看起来不同?
我正在开发一个 Drupal 6 网站,该网站存在一些 CSS 问题。我已经使用萤火虫来尝试确定是什么原因造成的,但我不知所措。
该页面有一个自定义应用程序,当您单击链接时会加载该应用程序。几周前,我使用 Firebug 纠正了自定义应用程序样式表中的另一个问题。我尝试修改主题样式表和自定义应用程序样式表中的尺寸,但没有成功。我很感激任何建议。
I am working on a Drupal 6 site that some CSS issues. I have used firebug to try and determine what is causing it, but I am at a loss.
The page has a custom app that is loaded when you click on the link. I corrected another problem in the custom app stylesheet a couple of weeks ago by using firebug. I have tried modifying the dimensions in the theme stylesheet and the custom app stylesheet with no luck. I appreciate any suggestions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
#content
css 宽度更改为:width:657px;
并使用边距以相同的方式获得它
也检查你的侧边栏,它完全不同,如果修改侧边栏,也许你不必修改内容
你有两倍的类
#nav
删除没有background-image
的类,
#title{高度:34px;}
但是,您必须再次对 #title 进行分类,因此请删除高度大于 34px 的类
删除此处的颜色:
#nav a:link { text-decoration: none;}
5.您需要将此类添加到活动链接中:
#nav a 。积极的{背景:url(“/themes/a3_atlantis/active_overlay.png”)repeat-x滚动0 0透明;颜色:#0B486B;高度:24px;}
大量修改;)
或者只需删除重复的类,它会有很大帮助! !
#content
css width to :width:657px;
And play with the margin to get it the same way
Check your sidebar too it's definitively different, maybe you wont have to modify the content if you modify the sidebar
you have two time the class
#nav
remove the one without thebackground-image
Resize the height of your class #title :
#title{height: 34px;}
But one more time you have to class #title, so remove the one that as a bigger heigth thant 34px
Remove the color here :
#nav a:link { text-decoration: none;}
5.You need to add this class to the link that is active :
#nav a.active {background: url("/themes/a3_atlantis/active_overlay.png") repeat-x scroll 0 0 transparent;color: #0B486B;height: 24px;}
Lots of modification ;)
OR juste remove the duplicates classes and it will help a lot ! !