首页显示值班记录行距难看,如何调整行距,获得较好看的效果?后台输出代码:
if ttt="1" then
document.write("<center><b><%=title%></b></center>");
document.write("<center><hr size=1>加入时间:<%=formatdatetime(addtime,1)%></center>");
document.write("<BR><%=content%>");
<% elseif ttt="0" then%>
document.write("<BR ><%=content%>");
<% elseif ttt="2" then%>
document.write("<BR><%=title%>");
<% elseif ttt="3" then%>
document.write("〖<%=title%>〗(<%=formatdatetime(addtime,1)%>)<%=glhtml(content)%>");
<%end if
rs.movenext
wend
首页调用脚本文件
<script language="JavaScript" src="news/ggjs.asp?id=编号&amp;ttt=0&amp;list=12" type="text/javascript"></script>

解决方案 »

  1.   

    <style>
    <!--
    body{line-height:25px;}
    -->
    </style>
      

  2.   

    加在body标签下,调整的是哪一部分的显示啊,我加的<br id="style1">,再用CSS处理也没用。
      

  3.   

    汗水<style>
    <!--
    body{line-height:25px;}
    -->
    </style>
    <body>
    a<br>b<br>c
    </body>这样就可以 自己看效果咯
      

  4.   

    那就把你的style1中加上{line-height:25px;}
      

  5.   

    类似于这样比较实用:
    1.5倍行距:style="line-height:150%"
    2倍行距: style="line-height:200%"