Gostaria de como, quando recupero os dados do access já quebrando as linhas??? O motivo é que no dream... uso tabelas fixas, mesmo assim sai do lugar por causa da descrição vinda do banco acima de 50 caracteres. Então imaginei usar algum método que quebrasse a cada 32 caracteres e quebrar ela. Este é o primeiro código teste: Onde tem o: <%=description%> é onde deve ser quebrados cada 32 caracteres. <!--#include file="config.asp"-->
<html>
<head>
<title><%=TS%></title>
<link rel="stylesheet" type="text/css" href="estilo.css">
</head>
<body bgcolor="#EE6C00" text="#000000" background="imagens/bg.gif">
<% id = request.querystring("id")
sqlstmt = "SELECT * FROM noticias where id =" & id & " ORDER BY id DESC"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sqlstmt, Dados, 3, 3
TotalRecs = rs.recordcount
date1 = rs("data")
id = rs("ID")
name1 = rs("titulo")
p1= rs("materia")
description = p1 %>
<table border="1" cellpadding="4" cellspacing="0" width="450" bordercolor="#000000" align="center">
<tr>
<td bgcolor="#FFCC00" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><strong><%=name1%></strong></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<% if rs("foto") = "N" then %>
<img src="imagens/semfoto.gif" border="0" align="left" hspace="8" vspace="2">
<% else %>
<img src="imagens/<%=rs("foto")%>" border="0" align="left" hspace="8" vspace="2">
<% end if %>
<strong>Data:</strong> <%=date1%><br>
<br>
<%=description%> <br>
<br>
<br>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FF9900">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><a href="java script:self.history.go(-1)"><b>voltar</b></a></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html> Este é o segundo código teste: O nome deste arquivo é: lista.asp Alguém pode me ajudar????? Agradeço pela ajuda!