1.选定风格。这可以在原8.2的模板中选定一个风格、色彩满意的模板,下载下来,取出其中的CSS文件和图片文件。 . B9 G0 L' ?8 H6 z5 H; N. X% A" X
2.修改和CSS文件。 5 n0 [; e* ~3 a7 q7 b, C
(1)找到原8.2的CSS文件中的
. s( T0 Y- u) o8 F/*帖子列表、正文样式*/ .tableborder { background:#fff; border:1px solid #6595d6; } 修改为: % ?+ G; X) r: I) N* s: B
/*帖子列表、正文样式*/ .tableborder { background:#ffffff; border:1px solid #C0C0C0;width:100%; } (2)在刚才修改过的CSS文件的最后,加上以下代码: R g4 J+ q/ e/ C- k6 q+ k( R; n
.newlogo { display:block;height:60px;width:200px; background:url("default/logo.gif") no-repeat;} .newlogo img { display:none;} .newtopic {color:#ddd; font-size:10px;} .newtopic small {font-size:10px;} .time {display:block;width:45px;float:left;text-align:right;color:#080;} .greyline {background:#f6f6f6;line-height:24px;border-bottom:1px solid #ddd; color:#999;} #newborder {border:1px solid #fff !important;} 5 n9 o- C! ^" O% s0 e# n
.isbestcss{position:absolute;margin-top:25px;width:150px;height:150px;margin-left:-160px;background:url('jht.gif') no-repeat; } .tableindexdy {border:1px solid #b8cfdb;background:#fff;} .tableindexdy ul li {line-height:24px; padding-left:20px; border-bottom:1px dotted #eee;background:url('default/arrow_02.gif') no-repeat 10px center;} /*首页右边部分*/ .page_left3 li {text-align:left;} .page_left3 li p {margin:0px !important;display:block;line-height:18px;height:18px;} ; A! y# T( T2 v$ x( c
/*首页右边部分*/ .page_right { width:220px; float:right; background:#fff; } .page_right ul { width:220px; border:1px solid #C6D2E3; margin-bottom:10px; }
, V( Q1 V2 P0 r6 e, B7 H
/*弹出窗口*/ #openwindow_login {float:none; font-weight:bold; padding:0px;} .CommonModal { border:10px solid #A4CFFF; background: #eeeeee; } .CommonModalTitle { background: #FFFFFF; border-style: solid; border-width: 0px; border-bottom-width: 1px; color: #ffffff; font-family: Arial, Helvetica; font-size: 110%; font-weight: bold; margin: 0px; height: 1.3em; position: relative; z-index: 203; cursor: move } .CommonModalClose { width: 33px; height: 15px; overflow: hidden; float: right; } .CommonModalContent { background: #ffffff; } .CommonModalFooter { border-style: solid; border-width: 0px; border-color: #FFFFFF; } .CommonModalResize { width: 14px; height: 14px; background: url("../images/resize.gif"); background-repeat: no-repeat; overflow: hidden; float: right; cursor: se-resize; } .CommonModalMask { background-color: #666; width: 100%; height: 100%; left:0; top:0; /*FF IE7*/ filter:alpha(opacity=50);/*IE*/ opacity:0.5;/*FF*/ z-index:1; position:fixed!important;/*FF IE7*/ position:absolute;/*IE6*/ } #modalClose a.down_pop_close { display:block; text-indent:-9999px; height:15px; width:15px; overflow:hidden; position:absolute; right:10px; bottom:0px; background:url(../images/pop_close.gif) left top no-repeat;margin-top: 10px;} #modalClose a.down_pop_close:hover { background:url(../images/pop_close_hover.gif) left top no-repeat;margin-top: 10px;} .win {margin: 0;width:99%;} , V) f6 I. L& P$ C4 e( P' B; W
7 P* I6 p$ v4 {) s2 A0 G% |
这样,就改成了8.3的CSS文件。 , ]7 p. K6 U3 N3 L: B% j2 g
3.修改顶部表格: 7 |1 S1 c7 J4 s! s5 S* X
用网页编辑工具,如FORNTPAGE,编辑动网模板包中的pub_html4.htm,至你所需要的效果。 7 Z4 y7 |3 q0 O& d# l) x3 n" d
4.修改尾部表格:
0 \8 s; p$ C; V1 Z$ [, w+ D0 b0 ^用网页编辑工具,如FORNTPAGE,编辑动网模板包中的pub_html8.htm,至你所需要的效果。
: S+ H l: x$ m9 B' l, }5.修改首页布局: ; D: T" B! } T+ Q# Z4 }8 H
用网页编辑工具,如FORNTPAGE,编辑动网模板包中的index_html0.htm、index_html1.htm中的版面列表布局和版面精简布局部份,至你所需要的效果。
% U% `* O H9 A' i, E* C4 J6.修改pub_html1.htm中的CSS文件名称为你刚才改好的CSS文件名称。 3 D; j/ |8 j% U4 O8 _! Q4 V8 F
这样一个模板就算做好了。 ! g% k! i3 b2 J- A
1 `' C. M9 I# G |