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

 找回密码
 立即注册
搜索

[求助] 只想把搜索条修改宽一点

[复制链接]
文坛 发表于 2010-11-25 16:13:55 | 显示全部楼层
横的 叫宽     竖叫高!!! 你在不在? 
回复

使用道具 举报

 楼主| 蓝色游戏 发表于 2010-11-25 16:15:38 | 显示全部楼层
回复 文坛 的帖子

那就是高
回复

使用道具 举报

文坛 发表于 2010-11-25 16:22:43 | 显示全部楼层
本帖最后由 文坛 于 2010-11-25 16:23 编辑

#scbar { overflow: hidden; height: 36px; line-height: 36px; background: url({IMGDIR}/search.gif) repeat-x 0 0; }

在common.css里面找到这一句  scbar { overflow: hidden; height: 36px  36PX 可以改成你想要的大小.background: url({IMGDIR}/search.gif) 背景图片在变量文件夹里面! 这个可以去后台改


repeat-x 0 0; }这个是图片的属性!
横向平铺 0 0  就是代表全图的左上角开始平铺  你可以改一下原图!不过图片属性要会受到影响.



这个改了不行吗????
你是否有用别的版模???
回复

使用道具 举报

 楼主| 蓝色游戏 发表于 2010-11-25 16:23:57 | 显示全部楼层
回复 文坛 的帖子
  1. body{background-color:#FFFFFF;background:url({STYLEIMGDIR}/comiis_tbg.gif) left top repeat-x;}
  2. ul,li{list-style:none;}
  3. .green{color:#008c00;}
  4. .blue{color:#049;}
  5. .gray{color:#333;}
  6. .dark_red{color:#c92a00;}
  7. .gray_666{color:#666;}
  8. .smalltitle{color:#0389d3;}
  9. .yellow,.info .yellow{color:#f60;}
  10. .hdc{width:970px;height:70px;margin:0 auto;text-align:left;background:url({STYLEIMGDIR}/comiis_hbg.gif) center top no-repeat;}
  11. .nvhm { width: 24px; background: url({STYLEIMGDIR}/pt_icn.png) no-repeat 7px 8px; line-height: 200px; overflow: hidden; }
  12. .kmxx {border:1px solid #cacaca;padding:2px;}
  13. #hd .wp {padding:0px;}
  14. #hd h2 {float:left;padding:0 20px 0 0;}
  15. .wp { width: 970px; }
  16. #hd .wp, #wp { min-width: 970px; }
  17. .ct2 .sd {float:right;overflow:hidden;width:230px;}
  18. .appl {width:130px;}
  19. .ct3_a .sd {float:right;margin-left:13px;width:220px;}
  20. #qmenu { float: right !important; margin: 0px; display: inline; padding: 0 0 0 5px !important; width: 90px; height: 26px; background: url({STYLEIMGDIR}/qmenu.png) no-repeat 0 0; line-height: 24px; }
  21. #qmenu_menu {margin:-3px 0 0 1px;width:91px;}
  22. /* -----导航----- */
  23. .n_nav{width:962px;overflow:hidden;margin:0 auto;height:100px;background:url({STYLEIMGDIR}/comiis_title_bg.png) no-repeat right top;padding:0 8px 0 0;}
  24. .n_nav .n_hd{width:7px;height:100px;background:url({STYLEIMGDIR}/comiis_title_bg.png) no-repeat left top;float:left;overflow:hidden;}
  25. .n_nav .n_bd{width:955px;height:100px;background:url({STYLEIMGDIR}/comiis_title_bg.png) repeat-x 0px -124px;float:left;overflow:hidden;}
  26. .nav_hd{width:955px;overflow:hidden;}
  27. .nav_hd_ul{margin:3px 0 0 0;}
  28. .nav_hd_ul li{float:left;}
  29. .nav_hd_ul li a{display:block;height:31px;line-height:30px;padding:0 18px 0 0px;float:left;background:url({STYLEIMGDIR}/comiis_x.png) no-repeat right center;font-size:14px;font-weight:bold;color:#fcfcfc;}
  30. .nav_hd_ul li a span{display:block;height:31px;padding:0 0 0 18px;float:left;cursor:pointer;text-decoration:none;}
  31. .nav_hd_ul li a:hover, .nav_hd_ul li.current a {background:url({STYLEIMGDIR}/comiis_an_r.png) no-repeat right center;color:{HIGHLIGHTLINK};text-decoration:none;}
  32. #index.current a{background:url({STYLEIMGDIR}/comiis_an_rs.png) no-repeat right center;color:{HIGHLIGHTLINK};text-decoration:none;}
  33. .nav_hd_ul li a:hover span,.nav_hd_ul li.current a span{background:url({STYLEIMGDIR}/comiis_an_l.png) no-repeat left center;text-decoration:none;}
  34. .nav_hd_ad{float:right;width:151px;height:25px;line-height:25px;color:#333;overflow:hidden;text-indent:10px;margin:2px 0 0 0;}
  35. .nav_bd_ul{margin:8px 0px 0 -1px;float:left;width:960px;}
  36. .nav_bd_ul li{height:25px;width:94px;line-height:25px;border-left:1px dashed #ccc;float:left;}
  37. .nav_bd_ul li a{font-size:14px;color:#333;display:block;width:60px;height:25px;background:url({STYLEIMGDIR}/comiis_ico.png) no-repeat 10px 9px;padding:0 13px 0 19px;text-decoration:none;}
  38. .nav_bd_ul li a:hover{background:url({STYLEIMGDIR}/comiis_navbg.gif) no-repeat 5px center;color:#333;text-decoration:none;}
  39. .ico_sj{padding:12px 0 0 5px;}
  40. .lk .m li {height: 40px;}
  41. /* -----首页部分----- */
  42. .tns th.bbn{border-right:0px solid #AACCEE;}
  43. .info{width:970px;margin-top:8px;overflow:hidden;position:relative;}
  44. #fc{width:310px; height:207px;}
  45. .col1{width:310px;overflow:hidden;float:left;position:relative;}
  46. .col1-cm{height:286px;border:1px solid #cacaca;position:relative;width:308px;margin:8px 0 0 0!important;margin:6px 0 0 0;}
  47. .top_corner,.top_corner_r,.bot_corner,.bot_corner_r,.top_corner_blue,.top_corner_r_blue,.bot_corner_blue,.bot_corner_r_blue{width:5px;height:5px;display:block;background:url({STYLEIMGDIR}/comiis_ico01.png) no-repeat;overflow:hidden;z-index:6;position:absolute;}
  48. .top_corner{top:-1px;left:-1px;}
  49. .top_corner_r{background-position:-5px 0;right:-1px;top:-1px;}
  50. .bot_corner{background-position:0px -5px;left:-1px;bottom:-1px;}
  51. .bot_corner_r{background-position:-5px -5px;right:-1px;bottom:-1px;}
  52. .top_corner_blue,.top_corner_r_blue,.bot_corner_blue,.bot_corner_r_blue{background:url({STYLEIMGDIR}/comiis_ico02.png) no-repeat;}
  53. .top_corner_blue{background-position:-10px 0;top:-1px;left:-1px;}
  54. .top_corner_r_blue{background-position:-15px 0;right:-1px;top:-1px;}
  55. .top_corner_blue_w{background:url({STYLEIMGDIR}/comiis_yj_l.gif) no-repeat;width:5px;height:5px;display:block;overflow:hidden;z-index:6;position:absolute;top:-1px;left:-1px;}
  56. .top_corner_r_blue_w{background:url({STYLEIMGDIR}/comiis_yj_r.gif) no-repeat;width:5px;height:5px;display:block;overflow:hidden;z-index:6;position:absolute;right:-1px;top:-1px;}
  57. .bot_corner_blue{background-position:-10px -5px;left:-1px;bottom:-1px;}
  58. .bot_corner_r_blue{background-position:-15px -5px;right:-1px;bottom:-1px;}
  59. .top_corner_red{background-position:0px 0;top:-1px;left:-1px;}
  60. .top_corner_r_red{background-position:-5px 0;right:-1px;top:-1px;}
  61. .bot_corner_red{background-position:0px -5px;left:-1px;bottom:-1px;}
  62. .bot_corner_r_red{background-position:-5px -5px;right:-1px;bottom:-1px;}

  63. .gz_tab{width:308px;overflow:hidden;}
  64. .gz_tab li{width:153px;float:left;height:24px;line-height:24px;color:#333;font-weight:bold;font-size:14px;text-align:center;background:url({STYLEIMGDIR}/comiis_ico03.gif);border-bottom:1px solid #cacaca;cursor:pointer;}
  65. .gz_tab li.now{background:none;border-bottom:none;color:#049;}
  66. .col1-list{margin-top:5px;}
  67. .col1-list li{height:25px;line-height:25px;padding:0 0 0 20px;background:url({STYLEIMGDIR}/comiis_ico04.gif) no-repeat 10px 11px;font-size:14px;width:285px;overflow:hidden;}
  68. .col1-lists{margin-top:7px;margin-left:3px;}
  69. .col1-lists li{height:23px;line-height:23px;padding:0 0 0 20px;background:url({STYLEIMGDIR}/comiis_ico04.gif) no-repeat 10px 11px;font-size:14px;width:285px;overflow:hidden;}
  70. .col1-lists li a,.col1-list li a,.col3-list li a,.acticity-list li a,.home-list li a{color:#333;}
  71. .col1-lists li a:hover,.col1-list li a:hover,.col3-list li a:hover,.hot-list li a:hover,.hot-list li span a:hover,.acticity-list li a:hover,.home-list li a:hover,.word-list li em a:hover,.word-list li span a:hover,.blog-list li a:hover,.links-list a:hover{color:#f60;}
  72. .col2{position:relative;left:8px;width:406px;overflow:hidden;float:left;}
  73. .col2-cm{width:404px;height:580px;border:1px solid #cacaca;position:relative;background:url({STYLEIMGDIR}/comiis_bg01.gif) repeat-x;}
  74. .hot-cm{width:388px;overflow:hidden;margin:0 auto;line-height:1.8;text-align:center;padding:10px 0 0 0;}
  75. .hot-cm h3 a{font-size:14px;font-weight:bold;}
  76. .hot-cm p{text-align:left;}
  77. .hot-list{width:388px;overflow:hidden;border-top:1px dashed #ccc;margin:8px auto 0 auto;padding:8px 0 0 0;}
  78. .hot-list li{height:24px;line-height:24px;font-size:14px;padding:0 0 0 3px;width:385px;overflow:hidden;text-align:right;}
  79. .hot-list li p{float:left;width:297px;height:24px;overflow:hidden;text-align:left;}
  80. .hot-list li span{font-size:12px;display:block;width:76px;overflow:hidden;float:right;*float:none;}
  81. .hot-list li a,.word-list li span a,.blog-list li a{color:#333;}
  82. .hot-list li a.titles{color:#f60;}
  83. .hot-list li span a,.word-list li em a,.links-list a{color:#666;}
  84. .hq-ad{padding-top:7px!important;padding-top:6px;}
  85. .col3{width:238px;overflow:hidden;float:right;}
  86. .col3-cm{width:236px;border:1px solid #ace;position:relative;}
  87. .weather{height:54px;background:url({STYLEIMGDIR}/comiis_bg03.png) repeat-x;text-align:center;}
  88. .weather .tns {padding:8px 0 0;}
  89. .blue-h2{height:25px;line-height:25px;width:100%;font-size:14px;font-weight:bold;text-indent:11px;z-index:2;background:url({STYLEIMGDIR}/comiis_tbg.png) repeat-x;}
  90. .col3-list{margin-top:6px;}
  91. .col3-list li{height:24px;line-height:24px;padding:0 0 0 17px;background:url({STYLEIMGDIR}/comiis_ico04.gif) no-repeat 9px 10px;width:203px;overflow:hidden;}
  92. .activity-pic{width:212px;overflow:hidden;margin:0 auto;line-height:1.6;padding:9px 3px 11px 3px;border-bottom:1px dashed #ccc;}
  93. .activity-pic img{padding:2px;border:1px solid #ccc;float:left;margin:0 3px 0 0;}
  94. .activity-pic h3{font-size:12px;font-weight:normal;}
  95. .acticity-list{margin-top:4px;width:217px;overflow:hidden;}
  96. .acticity-list li{width:210px;padding:0 0 0 7px;height:26px;line-height:26px;overflow:hidden;}
  97. .text-ad{width:238px;height:90px;background:url({STYLEIMGDIR}/comiis_adbg.png) no-repeat;float:right;}
  98. .col4{width:722px;position:relative;border:1px solid #ace;float:left;}
  99. .home-pic{width:340px;height:290px;overflow:hidden;margin:6px 0 0 6px !important;margin:6px 0 0 1px;float:left;}
  100. .home-pic li{width:160px;float:left;text-align:center;margin:4px 4px;}
  101. .home-pic li a{background:#fcfcfc;border:1px solid #e9e9e9;width:144px;overflow:hidden;height:120px;padding:7px 7px 5px 7px;display:block;}
  102. .home-pic li a:hover{background:#fefcf0;border:1px solid #ece7c9;}
  103. .home-list{margin:8px 0 0 6px;float:left;width:345px;}
  104. .home-list li{height:27px;line-height:27px;font-size:14px;width:366px;overflow:hidden;float:left;}
  105. .home-list li a.titles{color:#936216;}
  106. .home-more{width:105px;height:16px;line-height:16px;display:block;background:url({STYLEIMGDIR}/comiis_ico05.gif) no-repeat 0 3px;text-indent:8px;position:absolute;top:5px;right:3px;}
  107. .col5{width:359px;overflow:hidden;float:left;margin:0 6px 0 0;position:relative;}
  108. .col5-cm{width:356px;height:278px;border:1px solid #ace;position:relative;}
  109. .col5-pic{width:330px;overflow:hidden;margin:14px auto 0 auto;line-height:22px;}
  110. .col5-pic img{float:left;margin:0 10px 0 0;}
  111. .col5-pic h3{font-size:14px;font-weight:normal;}
  112. .col5-pic div{padding-top:0px;}
  113. .col6{width:724px;overflow:hidden;float:left;}
  114. .col6-cm{width:722px;position:relative;border:1px solid #eaa;}
  115. .red-h2{background:url({STYLEIMGDIR}/comiis_tbg01.png) repeat-x;}
  116. .home-pics{width:340px;height:170px;overflow:hidden;margin:6px 0 0 6px !important;margin:6px 0 0 1px;float:left;}
  117. .home-pics li{width:160px;float:left;text-align:center;margin:4px 4px;}
  118. .home-pics li a{background:#fcfcfc;border:1px solid #e9e9e9;width:144px;overflow:hidden;height:143px;padding:7px 7px 5px 7px;display:block;}
  119. .home-pics li a:hover{background:#fefcf0;border:1px solid #ece7c9;}
  120. .word-list{float:left;width:365px;overflow:hidden;margin:12px 0 0 5px;}
  121. .word-list li{height:22px;line-height:22px;font-size:14px;width:365px;text-align:right;}
  122. .word-list li span{display:block;width:280px;height:22px;overflow:hidden;float:left;text-align:left;}
  123. .word-list li em{font-style:normal;float:right;width:80px;display:block;overflow:hidden;*float:none;font-size:12px;}
  124. .telephone-list{margin:4px 0 0 30px;color:#333;}
  125. .telephone-list li{height:25px;width:162px;float:left;padding:0 0 0 8px;border-right:1px dashed #ccc;line-height:25px;overflow:hidden;}
  126. .blog-pic{width:219px;overflow:hidden;margin:10px auto 0 auto;border-bottom:1px dashed #ccc;padding:0 0 5px 0;line-height:normal;}
  127. .blog-pic li{float:left;width:109px;overflow:hidden;height:126px;text-align:center;}
  128. .blog-pic span{display:block;}
  129. .blog-pic li img{padding:1px;border:1px solid #ccc;margin-bottom:3px;*margin-bottom:5px;}
  130. .blog-list{margin-top:8px;}
  131. .blog-list li{height:23px;line-height:23px;width:93px;overflow:hidden;float:left;padding:0 0 0 18px;background:url({STYLEIMGDIR}/dot.gif) no-repeat 10px 10px;}
  132. .comiis_link{width:970px;overflow:hidden;margin:8px auto;}
  133. .comiis_link-cm{width:968px;border:1px solid #ace;position:relative;}
  134. .tel{background:url({STYLEIMGDIR}/comiis_fwlbg.png);width:24px;height:75px;float:left;padding:8px 0 0 6px;margin:-1px 0 -1px -1px;line-height:18px;font-size:14px;}

  135. /* -----底部----- */
  136. #comiis_footer {CLEAR: both; MARGIN: 1px auto 10px; WIDTH: 970px; LINE-HEIGHT: 20px; TEXT-ALIGN: center;}
  137. .comiis_footer {BORDER-TOP: #d6d6d6 1px solid; MARGIN: 0px auto; WIDTH: 970px; COLOR: #cdcdcd; LINE-HEIGHT: 30px; HEIGHT: 30px; TEXT-ALIGN: center;}
  138. .comiis_footer A {MARGIN: 0px 10px;COLOR: #666;}
  139. .comiis_footer A:hover {COLOR: #db0000;TEXT-DECORATION: underline;}
  140. .comiis_copyright {MARGIN: 0px auto; WIDTH: 970px; COLOR: #888; LINE-HEIGHT: 20px; POSITION: relative; HEIGHT: 70px; TEXT-ALIGN: center;}
  141. .comiis_copyright a{COLOR: #888;}
  142. .comiis_copyright A:hover {COLOR: #db0000;}

  143. extend_common.css
复制代码
回复

使用道具 举报

文坛 发表于 2010-11-25 16:26:47 | 显示全部楼层
template\default\common\common.css

改这个!! 
extend_common.css 里面没有的CSS代码 系统会自动去common.css 加载的!

现在去common.css这个文件里面找我给你发的代码!然后修改

改前记得先备份common.css文件! 
回复

使用道具 举报

 楼主| 蓝色游戏 发表于 2010-11-25 16:28:35 | 显示全部楼层
回复 文坛 的帖子

我用的是米克模板
回复

使用道具 举报

文坛 发表于 2010-11-25 16:29:58 | 显示全部楼层
哦!那你发你的网站出来吧!我去帮你看一下是不是改用新CSS了!
回复

使用道具 举报

 楼主| 蓝色游戏 发表于 2010-11-25 16:31:02 | 显示全部楼层
回复 文坛 的帖子
  1. #scbar { overflow: hidden; height: 36px; line-height: 36px; background: url({IMGDIR}/search.gif) repeat-x 0 0; }
复制代码
原来是这样的
  1. #scbar { overflow: hidden; height: 936px; line-height: 70px; background: url({IMGDIR}/search.gif) repeat-x 0 0; }
复制代码
现在改成这样  一点没变化
回复

使用道具 举报

文坛 发表于 2010-11-25 16:32:09 | 显示全部楼层
  我改了有变化 你把你的网站发出来!我看一下就知道了!
回复

使用道具 举报

 楼主| 蓝色游戏 发表于 2010-11-25 16:33:11 | 显示全部楼层
回复 文坛 的帖子

nlnzh.sc80.com
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-6 11:25 , Processed in 0.127710 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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