make .css work in asp

tweaker

Beta member
Messages
1
I have this asp page:

__________

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/config.asp" -->
<!--#include file="buildpage.asp"-->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
if (Request.QueryString("N_ID") <> "") then Recordset1__MMColParam = Request.QueryString("N_ID")
%>
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_conngcocmembers_STRING
Recordset1.Source = "SELECT * FROM New WHERE N_ID = " + Replace(Recordset1__MMColParam, "'", "''") + ""
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<%

Call ReadFromTemplate(strTemplateLocation,aryPageTemplate,strDatestampHTML)

response.write(aryPageTemplate(0))
%>
<body style="background-color:transparent" bottommargin="0" leftmargin="0" rightmargin="0">
<table border="0" cellpadding="5" cellspacing="0" width="100%">
<td>
<% If Not Recordset1.EOF Or Not Recordset1.BOF Then %>
<table width="100%" border="0" cellpadding="2">
<tr>
<td>
<%=(Recordset1.Fields.Item("N_paragraph").Value)%> </td>
</tr>
<tr>
<td><img src="../images/spacer.gif" alt="" width="10" height="10"></td>
</tr>
<tr>
</tr>
</table>

<% End If ' end Not Recordset1.EOF Or NOT Recordset1.BOF %>
</td>
</tr>
</table>
</body>
__________

And I want this line "<%=(Recordset1.Fields.Item("N_paragraph").Value)%>" that is a text field to work with a css style file.
I've tryed to add a <class> tag to <td> or whatever but it does not seem to work.
I just want the text that this line "<%=(Recordset1.Fields.Item("N_paragraph").Value)%> " makes to change to what I put in the .css file.

Please advice,

Thanx,

Gideon
 
Back
Top Bottom