常见问题 教学软件的常见问题>>

jgxx_zb版主回复:有朋友提出,3.51文章内容页默认字体太小,想改大些怎么办?

发布时间:2010-11-24 13:43:46

答案:

修改前请备份好原文件。在Article_Show.asp中查找以下代码:

                <td height="200" valign="top"> <table border="0"
align="left" cellpadding="10" cellspacing="0">
                    <tr>
                      <td><% call ShowAD(3) %></td>
                    </tr>
                  </table>
                  <%call ShowArticleContent()%> </td>

改为:

<td height="200" valign="top" style="line-height: 25px;"><font
size="3"> <table border="0" align="left" cellpadding="10"
cellspacing="0">
                    <tr>
                      <td><% call ShowAD(3) %></td>
                    </tr>
                  </table>
                  <%call ShowArticleContent()%> </font></td>

其中:25px是行距(可以修改);<font size="3">是默认字体的大小(红色数字你可以修改,1最小,2、3、4、5……越来越大)

===================================

11、留言板每页显示10条,把网页拉的老长,怎样修改?

:打开Inc/syscode_guest.asp文件查找如下代码:

strFileName="GuestBook.asp"
GuestPath="images/guestbook/"
MaxPerPage=10

红色数字就是你要修改的。
==========================

如何在打开的文章中不屏蔽复制,即恢复右键功能?

:在文章显示页文件 article_show.asp和article_show2.asp中将
<body <%=Body_Label%> onmousemove='HideMenu()' oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()">
改成下面的就可以了
<body <%=Body_Label%> onmousemove='HideMenu()' >

本FAQ适用范围

下一步您可以:
查看教学软件产品 >>