Gazing into my crystal ball I observed "Evertjan."
<> writing in news:Xns93FB6E09682F7eejj99@
194.109.133.29:
> Ice Man wrote on 19 sep 2003 in microsoft.public.inetserver.asp.general:
>> I got a "double quote" problem when I try to give a background color
>> for the html page
>> txtMailBody = "<html bgcolor="#FFCC33">"
>
> txtMailBody = "<html bgcolor='#FFCC33'>"
>
> Can bgcolor be a attribute of the <html> tag, however?
>
>
No, it can't. It can be an attribute of the Body element, albeit
depreciated. Best method is to put everything into a style element in the
head element.
txtMailBody = "<html><head><title>Mail Message</title><style type=" & chr
(34) & "text/css" & chr(034) & ">body {background-color:#FFCC33}</style>
</head><body>Email message</body></html>"
--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com