When you build out your html use a string builder. Append to the string
builder all the text for a regular html page with a link to a stylesheet
stored out on your website... Otherwise put all the style tags directly in
the text.
Dim MySB AS New System.Text.StringBuilder
With MySB
.Append("<html>" & vbcrlf)
.Append(vbTab & "<head>" & vbcrlf)
.Append(vbTab & vbTab & "<meta [style link here]>" & vbcrlf)
'---Etc.
End With
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"WebBuilder451" <We***********@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
i'm sending email via an aspx page. The format is html. Is there a way to
include a link to a stylesheet? I notice that the
Dim mail As New MailMessage
mail.Body = msg
mail.BodyFormat = MailFormat.Html
will create the correct html headers but i can't figure out how to include
a
link to a stylesheet in the head tag.
Any ideas?
thanks
kes
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes