asp页面内容字号大小怎么改 15
这是我那网站news_center目录下的temlape的文件部分内容.<!--#includefile=top_e.htm--><%id=request("id")se...
这是我那网站news_center目录下的temlape的文件部分内容.
<!--#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_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--> 展开
2个回答
2015-12-03 · 知道合伙人数码行家
关注
展开全部
ASP页面内容字号有几种方法可以更改:
。直接用代码更改,如 <font face=Verdana size=2>文字 <font>,这里的size=2就是代表字号大小,数字越大,字号越大;
。如果你在网页编辑软件中操作,则可以直接选择文字样式,由编辑软件自动生成样式,如DW中:
.STYLE20 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
<span class="STYLE20">文字</span>
。直接用代码更改,如 <font face=Verdana size=2>文字 <font>,这里的size=2就是代表字号大小,数字越大,字号越大;
。如果你在网页编辑软件中操作,则可以直接选择文字样式,由编辑软件自动生成样式,如DW中:
.STYLE20 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
<span class="STYLE20">文字</span>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询