"Bob Barrows" wrote:
: Roland Hall wrote:
: > "eddie wang" wrote:
: >> How to convert the following html to asp page using response.write?
: >> Thanks.
: >>
: >> <td align="right">< Font
: >> class=content4> <%=ars.Fields(" REVENUE")%></td>
: >
: > Response.Write( "<td align=""right"" ><Font class=""content 4"">" &
: > ars.Fields("REV ENUE") & "</font></td>")
: >
: > I would use this instead...
: >
: > Response.Write( "<td class=""content 4"">" & ars.Fields("REV ENUE") &
: > "</td>")
: >
: > Add this to content4 class.
: > text-align: right;
:
: Unless you wanted to override what's in the content4 class for this
: particular instance ... :-)
True, but then I'd use:
Response.Write( "<td class=""content 4"" style=""text-align: right"">" &
ars.Fields("REV ENUE") & "</td>")
....but shouldn't he also make this change?
Response.Write( "<td class=""content 4"" style=""text-align: right"">" &
ars.Fields("REV ENUE").Value & "</td>")
I know it's not required but isn't it the preferred way?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp