| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1382 人关注过本帖
标题:请问大家ASP的字体大小怎么改啊?拜托啦~急~
只看楼主 加入收藏
xiaoxian
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2008-10-6
收藏
 问题点数:0 回复次数:3 
请问大家ASP的字体大小怎么改啊?拜托啦~急~
在站点里面我觉得后台里这两个文件是字体的控制页面。请大家帮帮忙哈~谢谢啦~有问题联系我哈
一个是下面这个文件:
<!--#include file=top_e.htm-->
  <%id = request("id")
set rs=server.createobject("adodb.recordset")
                      rs.open "SELECT * FROM news where id=" & id ,Conn,1,1%>

  <tr>
    <td align="center" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center" valign="top"><br>
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="60" align="center" class="blu-text"><%=rs("ntitle")%></td>
              </tr>
              
              <tr>
                <td valign =top><br><%if rs("map1")<>"" then%>
                  <a href="../map1/<%=rs("map1")%>" target="_blank"><img src="../map1/<%=rs("map1")%>" width="180" height="150" border="0" align=left></a>
                  <%end if%>
                  <%if rs("map2")<>"" then%>
                  <a href="../map2/<%=rs("map2")%>" target="_blank"><img src="../map2/<%=rs("map2")%>" width="180" height="150" border="0" align=left></a>
                  <%end if%>
                  <%if rs("map3")<>"" then%>
                  <a href="../map3/<%=rs("map3")%>" target="_blank"><img src="../map3/<%=rs("map3")%>" width="180" height="150" border="0" align=left></a>
                  <%end if%>
                  <%= rs("content1")%> </td>
              </tr>
              <tr>
                <td> </td>
              </tr>
            </table></td>
            <%
rs.close
rs.open "SELECT top 4 * FROM news where approve=1 and english = 2 ORDER BY app_time DESC ",Conn,1,1%>
          <td width="149" align="center" valign="top" bgcolor="#E8F4FF"> <table width="85%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="60" colspan="2" class="bss"><font color="#1864A0">NEWS</font></td>
              </tr><%if not rs.eof then%>
              <tr>
                <td width="12%" valign="top">1.</td>
                <td width="88%"><a href="temlape.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a></td>
              </tr>
              <%rs.movenext%>
              <tr>
                <td colspan="2"> </td>

              </tr><%end if
              if not rs.eof then%>
              <tr>
                <td valign="top">2.</td>
                <td><a href="temlape.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a> </td>
              </tr>
              <%rs.movenext%>
              <tr>
                <td colspan="2"> </td>
              </tr><%end if
              if not rs.eof then%>
              <tr>
                <td valign="top">3.</td>
                <td><a href="temlape.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a></td>
              </tr>
              <%rs.movenext%>
              <tr>
                <td colspan="2"> </td>
              </tr><%end if
              if not rs.eof then%>
              <tr>
                <td valign="top">4.</td>
                <td><a href="temlape.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a></td>
              </tr> <%end if
              rs.close
              set rs = nothing
              conn.close
              set conn= nothing%>
              <tr align="right" valign="bottom">
                <td height="60" colspan="2"><a href="../e_allnews.asp?type="><img src="../image/more.jpg" width="36" height="11" border="0"></a></td>
              </tr>
            </table></td>
        </tr>

      </table></td>
  </tr>
<!--#include file=foot_c.htm-->
另一个是:
<!--#include file=top_c.htm-->
  <%id = request("id")
set rs=server.createobject("adodb.recordset")
                      rs.open "SELECT * FROM news where id=" & id ,Conn,1,1%>
  <tr>
    <td align="center" bgcolor="#FFFFFF">
<table width="100%" height="400" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top"><br>
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="60" align="center" class="blu-text"><%=rs("ntitle")%></td>
              </tr>
              
              <tr>
                <td valign =top><br>
                  <%if rs("map1")<>"" then%>
                  <a href="../map1/<%=rs("map1")%>" target="_blank"><img src="../map1/<%=rs("map1")%>" width="180" height="150" border="0" align=left></a>
                  <%end if%>
                  <%if rs("map2")<>"" then%>
                  <a href="../map2/<%=rs("map2")%>" target="_blank"><img src="../map2/<%=rs("map2")%>" width="180" height="150" border="0" align=left></a>
                  <%end if%>
                  <%if rs("map3")<>"" then%>
                  <a href="../map3/<%=rs("map3")%>" target="_blank"><img src="../map3/<%=rs("map3")%>" width="180" height="150" border="0" align=left></a>
                  <%end if%><%= rs("content1")%></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
            </table></td>
            <%
rs.close
rs.open "SELECT top 4 * FROM news where approve=1 and english = 1 ORDER BY app_time DESC ",Conn,1,1%>

          <td width="149" align="center" valign="top" bgcolor="#E8F4FF">
            <table width="85%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="60" colspan="2" class="bss">最新动态</td>
              </tr><%if not rs.eof then%>
              <tr>
                <td width="12%" valign="top"><font color="#1864A0">1.</font></td>
                <td width="88%"><a href="temlape1.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a>
                <%rs.movenext%>
                </td>
              </tr>
              <tr>
                <td colspan="2"> </td>
              </tr><%end if
              if not rs.eof then%>
              <tr>
                <td valign="top"><font color="#1864A0">2.</font></td>
                <td><a href="temlape1.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a>
                <%rs.movenext%>
                </td>
              </tr>
              <tr>
                <td colspan="2"> </td>
              </tr><%end if
              if not rs.eof then%>
              <tr>
                <td valign="top"><font color="#1864A0">3.</font></td>
                <td><a href="temlape1.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a></td>
              <%rs.movenext%>
              </tr>
              <tr>
                <td colspan="2"> </td>
              </tr>
              <%end if
              if not rs.eof then%>
              <tr>
                <td width="12%" valign="top"><font color="#1864A0">4.</font></td>
                <td width="88%"><a href="temlape1.asp?id=<%=rs("id")%>"><%=rs("ntitle")%></a>
                 </td>
              </tr>
              <%end if
              rs.close
              set rs = nothing
              conn.close
              set conn= nothing%>
              <tr align="right" valign="bottom">
                <td height="60" colspan="2"><a href="../allnews.asp?type="><img src="../image/more.jpg" width="36" height="11" border="0"></a></td>
              </tr>
            </table>
          </td>
        </tr>
      </table></td>
  </tr>
<!--#include file=foot_c.htm-->
请大家帮帮忙,很急啦
搜索更多相关主题的帖子: 字体 ASP 
2008-10-06 10:11
nicechlk
Rank: 3Rank: 3
等 级:论坛游侠
威 望:4
帖 子:330
专家分:187
注 册:2008-9-6
收藏
得分:0 
class="blu-text"
class="bss"
类似于这样的,class=****,这个才是控制字体的。
这个bss和blu_text,应该在一个***.css文件里(这个文件就是asp里的样式表文件)。你修改***.css文件里相对应的bss、blu_text项就可以改变字体或则相关的样式。

莫以善小而不为,莫以恶小而为之!
2008-10-06 12:10
xiaoxian
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2008-10-6
收藏
得分:0 
我试了试,还是不行。高手,加我QQ,474676077。
~
2008-10-06 16:04
孤独冷雨
Rank: 10Rank: 10Rank: 10
来 自:安徽滁州
等 级:贵宾
威 望:23
帖 子:1247
专家分:1909
注 册:2007-6-4
收藏
得分:0 
在你的td里你直接用style="font-size:100px;"
2008-10-06 16:22
快速回复:请问大家ASP的字体大小怎么改啊?拜托啦~急~
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.042762 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved