Currently I have the script below that I am working with. (I have not "updated" it to 'better' HTML yet, I just wanted to get this post out there.
Lines 4 - 11:
if Rec("hotLink") = 1 then
strRsp = strRsp & "<font style=""font-size:16px"">"
else
strRsp = strRsp & "<font style=""font-size:14px"">"
end if
strRsp = strRsp & ("<a href="""& appUrl &"/links/"& Rec("linkID") & ".asp"">")
strRsp = strRsp & (Rec("linkName") & "</a></font></b>" & vbnewline )
I really do not need, I just would like that to be an <h3> tag. I know I could do:
if Rec("hotLink") = 1 then
strRsp = strRsp & "<h3>"
else
strRsp = strRsp & "<h3>"
end if
strRsp = strRsp & ("<a href="""& appUrl &"/links/"& Rec("linkID") & ".asp"">")
strRsp = strRsp & (Rec("linkName") & "</a></h3>" & vbnewline )
but I was hoping for something maybe a little bit cleaner if there are any ideas.
Right now, the code below creates two columns. I would like to create three columns.
Basically broken down, the code creates something like:
<table style="width: 99%; border-collapse:collapse">
<tr>
<td style="width:60%; text-align:left">linkName<
/td>
<td style="width:70px; text-align:right">image</t
d>
</tr>
</table>
But I would like something like:
<table style="width: 99%; border-collapse:collapse">
<tr>
<td style="width:60%; text-align:left">linkName<
/td>
<td style="text-align:left">sp
onsor</td>
<td style="width:70px; text-align:right">image</t
d>
</tr>
</table>
Thanks!