Forum Moderators: open

Message Too Old, No Replies

FormMail asp script

Change the font for notifying email

         

katieray

1:38 pm on May 8, 2008 (gmt 0)

10+ Year Member



I've got this code and I want to change the font in the incoming email. I can remove the bold but can't figure out the way to change the font size.

Here is the part of the code where I can remove the <b> tag to remove the bold....how do I change it to change the font size?

body = "<table border=""0"" cellpadding=""2"" cellspacing=""0"">" & vbCrLf
for each name in fieldOrder
body = body _
& "<tr valign=""top"">" _
& "<td><b>" & name & ":</b></td>" _
& "<td>" & Request.Form(name) & "</td>" _
& "</tr>" & vbCrLf
next
body = body & "</table>" & vbCrLf

I would appreciate any help, because it will make me look like I am smarter than the other guy in the office who "knows everything"....

katieray

1:52 pm on May 8, 2008 (gmt 0)

10+ Year Member



Got it...

body = "<table border=""0"" cellpadding=""2"" cellspacing=""0"">" & vbCrLf
for each name in fieldOrder
body = body _
& "<tr valign=""top"">" _
& "<td><font size='1'>" & name & ":</font></td>" _
& "<td>" & Request.Form(name) & "</td>" _
& "</tr>" & vbCrLf
next
body = body & "</table>" & vbCrLf

Still doesn't do exactly what I wanted...they wanted to be able to print out the results in the email on one sheet of paper...

defanjos

2:21 pm on May 8, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Maybe if you try changing the following:

cellpadding=""1""
and
<font style='font-size: 10px;'>