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

 找回密码
 立即注册
搜索

[已解决] 求助高人:在哪里更改帖子内容区域的宽度比例

[复制链接]
zhoumo310 发表于 2010-6-24 12:51:51 | 显示全部楼层 |阅读模式
本帖最后由 zhoumo310 于 2010-6-24 13:09 编辑

dz从6.0开始过后,我人都傻了,不太会修改dz的风格了,原来在后台就有设置的((em:02))
回复

使用道具 举报

 楼主| zhoumo310 发表于 2010-6-24 12:56:53 | 显示全部楼层
css文件代码如下:
  1. /*============== ann dt  公告位置控制 ==============*/
  2. .content #ann {line-height: 30px; border: solid {COMMONBORDER}; border-width: 1px 0 0; background-color:#E0F6FD; background-image: url({STYLEIMGDIR}/ann_bg.gif); background-repeat: repeat-x;background-position: 0 -10px; }
  3. .content #ann dt { float: left; width: 5em; text-indent: 2em; font-weight: 700; }
  4. /*============== BBsBar 自定义 ==============*/
  5. #bb_headermenu {padding-bottoom:0px; width:100%; background:#1268A3 url({STYLEIMGDIR}/navbg.png) repeat-x; }
  6. #bb_headermenu .wrap {margin: 0 auto;  width: {WRAPWIDTH}; height: 35px;}
  7. #bb_border {height:25px; width:100%; border-bottom: 1px solid  #C7E1EF;  background-color: #EEF6FD; }
  8. #bb_border .wrap {margin: 0 auto; height:25px; width: {WRAPWIDTH};}
  9. #bb_horizontal {margin-top:5px; height:10px; width:100%; border-top: 1px solid #CED7DA; background: url({STYLEIMGDIR}/bb_horizontal.png) repeat-x;}
  10. #xhomelink { float: left; margin-top:3px;}
  11. #xhomelink a {color:#F70000;}
  12. /*============== header 头部控制 ==============*/
  13. #header .wrap {  padding:5px 0 10px;}
  14. #header {padding-bottoom:0px; width:100%; background:#fff url({STYLEIMGDIR}/bj.png) repeat-x}
  15. #wrap {padding-bottom:0px;}
  16. /*============== menu 导航控制 ==============*/
  17. #menu { float: left; height: 33px; }
  18. #menu a {padding:0px 0px;width:70px; height: 33px; border: none; background-color: transparent; line-height: 33px; text-align:center; font-weight: bold;}
  19. #menu li { margin-left: 2px; background-color: transparent; }
  20. #menu a:hover {background-color: transparent; color:#FFFFFF;}
  21. #menu li.current a { width:70px; height: 33px; background-color: none; background: url({STYLEIMGDIR}/menu.png); color:#000;}
  22. #menu li.current a:hover {color:#000;}
  23. #menu, #umenu { position: static; margin-top:2px;}
  24. #menu a.dropmenu {background-position:80% 50%;}
  25. /*============== umenu 导航控制 ==============*/
  26. #umenu { float: right; margin-left: 4px; padding-top:-3px; }
  27. /*============== nav 文字导航 ==============*/
  28. #nav { margin:0 auto 3px; height:20px; border: 1px solid #C7E1EF; background: #DFF6FF url({STYLEIMGDIR}/icon_nav.gif)  no-repeat 15px 50%; text-align: left; text-indent: 40px; line-height: 28px;}
  29. #nav a {margin:auto;}
  30. /*============== style_switch 风格导航 ==============*/
  31. #style_switch { position: static;  float: right; margin-top:10px; }
  32. /*============== footer 底部控制 ==============*/
  33. #footer{padding:8px 0 30px;width:98%;margin:0 auto;min-width:980px;max-width:1200px;}
  34. .bottom{margin:0 auto 15px;}
  35. .bottom ul{ padding:0; margin:0; list-style:none;}
  36. .bottom ul li{ padding:0 1em 0 0;display:inline;}
  37. .bottom ul li a{white-space:nowrap;}
  38. /*5像素圆角*/
  39. .bottom .y-bg2,.bottom .y-bg3,.bottom .y-bg4{background:#f2f9ff;}
  40. .y-bg{margin:0 4px;border-top:1px solid #c7e1ef;}
  41. .y-bg2{margin:0 2px;height:1px;border:2px solid #c7e1ef;border-top:0;border-bottom:0;overflow:hidden;}
  42. .y-bg3{margin:0 1px;height:2px;border:1px solid #c7e1ef;border-top:0;border-bottom:0;overflow:hidden;}
  43. .y-bg4{padding:0 10px;border:1px solid #c7e1ef;border-top:0;border-bottom:0;overflow:hidden;}               
  44. #rightinfo, #footlink { clear: both; margin:5px; }

  45. /*============== AD 位置控制 ==============*/
  46. #ad_headerbanner { float: right; margin:0; top:5px; }
  47. .ad_footerbanner { width: {WRAPWIDTH}; background: {WRAPBG}; margin: 0 auto;  }
  48. /*============== content 布局控制 ==============*/
  49. .content { padding: 0px 0px; }
  50. /*============== list  版块位置控制 ==============*/
  51. #index .content, #forumdisplay .content { padding: 5px 0;  }
  52. #index .with_side .content, #forumdisplay .with_side .content { padding-right: 10px !important; }
  53. #index .pages_btns { padding-bottom: 5px; }
  54. .list { margin-bottom: 10px; padding: 1px; border: 1px solid #73C0E0; }
  55.         .content .list h3 { padding-left: 9px; line-height: 31px; background: #BFE6F6 url({STYLEIMGDIR}/h.png) repeat-x; color: #034D7A; }
  56.                 .list h3 a { color: #034D7A; }
  57. .list td, .list th {background:#F5FCFF; border-top:1px solid #D5E6ED;}
  58. .list th { background: #F5FCFF url({STYLEIMGDIR}/old.gif) 10px 50% no-repeat; padding-left: 55px !important; }
  59. .list th.new { background-image: url({STYLEIMGDIR}/new.gif); }


  60. /*        #index .list table, #forumdisplay .list table { border-collapse: separate; }
  61. #index .mainbox table th, #index .mainbox table td, #forumdisplay .mainbox table th, #forumdisplay .mainbox table td { border-top: 1px solid #73C0E0; border-bottom: 1px solid #FFF; background-color: #fff; }
  62.         #index .mainbox table tr:hover th, #index .mainbox table tr:hover td, #forumdisplay .mainbox table tr:hover th, #forumdisplay .mainbox table tr:hover td { background-color: #fff; }*/

  63. /*============== forumimglink 连接版块控制 ==============*/
  64. .forumlinks, .forumimglink, .forumtxtlink {background-color:#F5FCFF;}
  65. /*============== 边栏中间空隙控制 ==============*/

  66. .with_side .main        {overflow: hidden; margin-left: -180px; width: 100%;}
  67. .with_side .content        {margin-left:180px; width:auto;}
  68. .with_side .side        {padding-bottom: 20px; width: 180px;}
  69. /*============== 发贴回复按扭控制 ==============*/
  70. .content .postbtn { background-image:url({STYLEIMGDIR}/newtopic.gif); }
  71. .content .replybtn { background-image:url({STYLEIMGDIR}/reply.gif); }

  72. /************浏览***********/

  73. #label { margin-bottom: 5px; OVERFLOW: hidden; WIDTH:100%; POSITION: relative }
  74. #label UL { }
  75. #label UL LI { DISPLAY: inline; FLOAT: left; MARGIN: 1px 3px 1px 2px; LINE-HEIGHT: 24px; LIST-STYLE-TYPE: none; HEIGHT: 24px; TEXT-ALIGN: center; _line-height: 22px }
  76. #label UL LI.selected A { DISPLAY: block; FONT-WEIGHT: bold; BACKGROUND: url({STYLEIMGDIR}/lab_bg01.gif) no-repeat left 0px; OVERFLOW: hidden; COLOR: #000; HEIGHT: 24px }
  77. #label UL LI.selected A SPAN { DISPLAY: block; BACKGROUND: url({STYLEIMGDIR}/lab_bg02.gif) no-repeat right 0px; OVERFLOW: hidden } #label UL LI A { DISPLAY: block; BACKGROUND: url({STYLEIMGDIR}/lab_bg01.gif) no-repeat left -48px; OVERFLOW: hidden; COLOR: #444; HEIGHT: 24px }
  78. #label UL LI A:hover { BACKGROUND: url({STYLEIMGDIR}/lab_bg01.gif) no-repeat left -24px; CURSOR: hand; TEXT-DECORATION: none }
  79. #label UL LI A SPAN { DISPLAY: block; BACKGROUND: url({STYLEIMGDIR}/lab_bg02.gif) no-repeat right -48px; OVERFLOW: hidden; HEIGHT: 24px }
  80. #label UL LI A:hover SPAN { BACKGROUND: url({STYLEIMGDIR}/lab_bg02.gif) no-repeat right -24px }
  81. #label UL LI { WIDTH: 80px } DIV#label UL LI.selected A { WIDTH: 80px } DIV#label UL LI.selected A SPAN { WIDTH: 80px } DIV#label UL LI A { WIDTH: 80px } DIV#label UL LI A SPAN { WIDTH: 80px }



  82. #forumdisplay .threadlist, #search .threadlist { padding: 1px; border: 1px solid {COMMONBORDER}; }

  83. /*****内容列表***/
  84. #viewthread { border: none; background: transparent !important; }
  85. .viewthread_sub { padding: 1px; border: solid {CONTENTSEPARATE}; border-width: 1px 1px 0; }
  86.         .viewthread_sub h2, .viewthread_sub h4 { padding: 0 10px; height: 31px; line-height: 31px; background: #325FA2 url({STYLEIMGDIR}/h.png) repeat-x; color: #09C; }
  87.         .viewthread_sub a { color: #0e5184; }
  88. .viewthread_table, #f_post  { margin-bottom: 10px; border: 1px solid  {CONTENTSEPARATE}; }


  89. /*****个人信息页*******/
  90. .content                        {background:transparent url({STYLEIMGDIR}/portalbox_bg.gif) repeat-x;}



  91. /******友情链接*******/
  92. .forumlinks, .forumimglink, .forumtxtlink { border-top:1px solid #D5E6ED; }
  93. #onlinelist dt, #onlinelist dd {border-top:1px solid #D5E6ED; }

复制代码
回复

使用道具 举报

肉松面包 发表于 2010-6-24 14:22:07 | 显示全部楼层
这个不用修改CSS的

您什么版本?在后台的界面=》风格管理里,找“阅读区域宽度“
回复

使用道具 举报

dimld 发表于 2010-11-9 16:21:25 | 显示全部楼层
阅读区域宽度在哪&……
回复

使用道具 举报

zhangdingjing 发表于 2011-5-21 18:45:36 | 显示全部楼层
肉松面包 发表于 2010-6-24 14:22
这个不用修改CSS的

您什么版本?在后台的界面=》风格管理里,找“阅读区域宽度“

找了很久 非常感谢
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-11 12:16 , Processed in 0.091183 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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