p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: How to Change font face and text color of returned recordset


Message #1 by NddyMyke@a... on Tue, 05 Jun 2001 11:45:10 EDT
Single quotes work just as well as using the escaped double quotes approach.

At 10:05 06/06/01 +0100, you wrote:
>Mike is correct
>
><td font face=3D""Arial"">
>
>is wrong.
>
>Either do
>
><td><font face=3D""Arial"">
>
>as he suggests, or
>
><td style=3D"font: 12pt Arial">
>
>-----Original Message-----
>From: Mike Krajewski [mailto:mkrajew@e...]
>Sent: 05 June 2001 18:35
>To: Code Clinic
>Subject: [proasp_codeclinic] Re: How to Change font face and text color
>of returned recordset
>
>
>Why don't you try specifying the font face in a font tag instead of inside
>the <td> tag like:
><td><font face=3D"Ariel">Data Here</font></td>
>I'm not sure if you can put a font style inside a td tag.
>----- Original Message -----
>From: <NddyMyke@a...>
>To: "Code Clinic" <proasp_codeclinic@p...>
>Sent: Tuesday, June 05, 2001 10:45 AM
>Subject: [proasp_codeclinic] How to Change font face and text color of
>returned recordset
>
>
> > Help! Help!! Help!!!
> > I do want to change the font face of all the returned recordsets and
> > highlight selected rows in different text color.
> > Here is the code I wrote but I do not seem to achieve the desired
 result.
> >
> > Response.Write "<tr bgcolor=3D""#B5C0CA""><td font face=3D""Arial"">" &
>rsInfo("Surname")& " </td>"
> >
> > Response.Write "<td font face=3D""Arial"">" & rsInfo("Forename") & "
 </td>"
> > Response.Write "<td font face=3D""Arial"">" & rsInfo("Location") &  "
 </td>"
> > Response.Write "<td font face=3D""Arial"">" & rsInfo("Job Title") &  "
></td>"
> > Response.Write "<td font face=3D""Arial"">" & rsInfo("Department Name")
 &  "
></td>"
> > Response.Write "<td font face=3D""Arial"">" & rsInfo("Extension Number")
 &
>" </td>"
> > Please I am relying on you.


  Return to Index