Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[求助] 金币求助

[复制链接]
crazy2010 发表于 2011-2-10 01:40:28 | 显示全部楼层 |阅读模式
20微币
本帖最后由 crazy2010 于 2011-2-11 11:32 编辑

未命名.jpg
二级导航下面的空隙有点大 要怎么调整  
谢谢了   本人菜鸟  希望能指点的详细点  


  1. /*搜索部分*/
  2. .search_content {
  3. width: 970px;
  4. height: 83px;
  5. margin: 0 auto;
  6. background: url({IMGDIR}/search_bg.gif) no-repeat;
  7. }
  8. .search_content a:hover{
  9. text-decoration:underline;
  10. }

  11. .search_left{
  12. float: left;
  13. width: 480px;
  14. padding: 0 10px 0 0;
  15. height: 66px;
  16. background: url({IMGDIR}/search_left_border.gif) right 0 no-repeat;
  17. }
  18. .search_frame {
  19. float: left;
  20. display:inline;
  21. width: 461px;
  22. height: 28px;
  23. margin: 0 0 0 18px;
  24. background: url({IMGDIR}/search_frame.gif) no-repeat;
  25. }

  26. .search_frame input.text {
  27. float: left;
  28. width: 290px;
  29. _width: 289px;
  30. height: 14px;
  31. margin: 4px 0 0 36px;
  32. padding: 3px 2px;
  33. border: 0;
  34. color: #999999;
  35. }
  36. .s_select {
  37. float:left;
  38. margin:3px 1px 0 10px;
  39. width:50px;
  40. }
  41. .s_select h6 {
  42. background:url({IMGDIR}/down.png) no-repeat scroll 36px center transparent;
  43. color:#6662666;
  44. font-weight: 400;
  45. cursor:pointer;
  46. display:block;
  47. height:24px;
  48. line-height:24px;
  49. padding:0 15px 0 8px;
  50. }
  51. .s_select ul {
  52. background:none repeat scroll 0 0 #FFFFFF;
  53. border:1px solid #DDDDDD;
  54. display:none;
  55. line-height:22px;
  56. margin:23px 0 0 0;
  57. position:absolute;
  58. width:47px;
  59. z-index: 2;
  60. }
  61. .s_select ul li {
  62. cursor:pointer;
  63. padding:0 10px;
  64. _padding: 0 8px;
  65. }
  66. .s_select ul li:hover {
  67. background:#E6F2FE;
  68. }
  69. .btn_search {
  70. float: left;
  71. width: 60px;
  72. height: 25px;
  73. overflow: hidden;
  74. cursor:pointer;
  75. border: none;
  76. margin: 1px 0 0 8px;
  77. background:url({IMGDIR}/search.gif) no-repeat;
  78. }
  79. /*热搜*/
  80. .hot_search {
  81. float: left;
  82. display:inline;
  83. font-size: 12px;
  84. margin: 10px 0 0 22px;
  85. color: #cccccc;
  86. }
  87. .hot_search span.hot {
  88. font-weight: bold;
  89. color: #333333;
  90. }
  91. .hot_search a {
  92. color: #005eac;
  93. margin: 0 3px;
  94. }
  95. /*搜索右侧*/
  96. .search_right {
  97. float: left;
  98. width: 470px;
  99. }
  100. /*论坛通道*/
  101. .pindao_bg{
  102. float: left;
  103. width: 20px;
  104. height: 65px;
  105. margin: 0 12px;
  106. _margin: 0 12px 0 6px;
  107. background: url({IMGDIR}/pindao_bg.gif) no-repeat;
  108. overflow: hidden;
  109. font-size: 12px;
  110. color:#ffffff;
  111. font-weight:bold;
  112. }
  113. .pindao_bg span {
  114. word-wrap:break-word;
  115. position:relative;
  116. line-height: 1.2em;
  117. left: 4px;
  118. top: 5px;
  119. }

  120. .pindao_left {
  121. float: left;
  122. width: 225px;
  123. height: 66px;
  124. margin: 0 10px 0 0;
  125. background:url({IMGDIR}/search_left_border.gif) right 0 no-repeat;
  126. }
  127. .search_right ul {
  128. float: left;
  129. width: 100%;
  130. display:block;
  131. line-height: 1.8em;
  132. }
  133. .search_right ul li {
  134. float:left;
  135. display: inline;
  136. font-size: 12px;
  137. }
  138. .search_right ul li a {
  139. color:#666666;
  140. margin: 0 7px;
  141. *margin: 0 4px;
  142. }
  143. .search_right ul li span {
  144. color:#0066cc;
  145. font-weight:bold;
  146. }
  147. .pindao_right {
  148. float: left;
  149. width: 190px;
  150. }
复制代码

补充一下, 就是安装了这个搜索导航之后  下面出空隙的。 求CSS高手指点。。。

最佳答案

查看完整内容

不行,没有间隙你知道有多难看吗
回复

使用道具 举报

deviljing 发表于 2011-2-10 01:40:29 | 显示全部楼层
不行,没有间隙你知道有多难看吗
回复

使用道具 举报

ldtheaven 发表于 2011-2-10 02:50:58 | 显示全部楼层
建议你用google的开发工具慢慢对着看一下,授之以鱼不如授之以渔~不外乎是#hd之类
回复

使用道具 举报

ilei365 发表于 2011-2-10 06:59:05 | 显示全部楼层
不会,帮顶。
回复

使用道具 举报

 楼主| crazy2010 发表于 2011-2-10 22:33:06 | 显示全部楼层
人工置顶一下,, 希望高手帮忙看一下...
回复

使用道具 举报

tiee 发表于 2011-2-11 00:12:13 | 显示全部楼层
((em:09))找到原导航条所在的位置,然后就是最伟大的替换
回复

使用道具 举报

 楼主| crazy2010 发表于 2011-2-11 00:51:04 | 显示全部楼层
回复 tiee 的帖子

试了。 不行    默认的nv.png 跟新的导航条的高度不一样  替换了会错位..
应该是牵扯css的问题....
回复

使用道具 举报

 楼主| crazy2010 发表于 2011-2-11 02:11:23 | 显示全部楼层
本帖最后由 crazy2010 于 2011-2-11 02:41 编辑

顶顶  希望高手出现...
回复

使用道具 举报

 楼主| crazy2010 发表于 2011-2-11 02:59:04 | 显示全部楼层
回复

使用道具 举报

 楼主| crazy2010 发表于 2011-2-11 11:20:54 | 显示全部楼层
谁帮忙看看。。。  
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-7 03:29 , Processed in 0.128776 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表