HTML Footers and Outlook/Word 2003?
Gerard
gerard at seibercom.net
Wed May 21 19:48:56 IST 2008
On Wed, 21 May 2008 18:45:31 +0100
"Paul Hutchings" <paul.hutchings at mira.co.uk> wrote:
> Thanks, I'm afraid I'm not an HTML person so it was knocked up in an
> HTML editor that obviously looked right but wasn't (weird how 5
> editors can knock out 5 different sets of HTML for something that
> looks so simple!).
>
> I've passed it through the html parser and unless someone can give me
> a reason not to use it, this is what it spits out:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta name="generator" content=
> "HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org">
> <title></title>
> </head>
> <body>
> <hr>
> <font face="tahoma,arial" size="2"><b>MIRA Ltd</b><br>
> Watling Street, Nuneaton, Warwickshire, CV10 0TU, England.<br>
> Registered in England and Wales No. 402570<br>
> VAT Registration GB 114 5409 96<br>
> <br>
> The contents of this e-mail are confidential and are solely for the
> use of the intended recipient.<br>
> If you receive this e-mail in error, please delete it and notify us
> either by e-mail, telephone or fax.<br>
> You should not copy, forward or otherwise disclose the content of
> the e-mail as this is prohibited.<br></font>
> </body>
> </html>
The only problem is that it does not contain a character encoding.
Passing it through an HTML parser should reveal that.
I have rewritten the above so that it will pass as "Transitional". I
also rewrote it to pass as "Strict" The code for "transitional" follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator"
content=
"HTML Tidy for Linux/x86 (vers 11 February 2007), see
www.w3.org"> <meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title></title>
</head>
<body>
<hr>
<p>
<font face="tahoma,arial"
size="2"><b>MIRA Ltd</b><br>
Watling Street, Nuneaton, Warwickshire, CV10 0TU, England.<br>
Registered in England and Wales No. 402570<br>
VAT Registration GB 114 5409 96<br>
<br>
The contents of this e-mail are confidential and are solely for
the use of the intended recipient.<br>
If you receive this e-mail in error, please delete it and notify
us either by e-mail, telephone or fax.<br>
You should not copy, forward or otherwise disclose the content of
the e-mail as this is prohibited.<br></font>
</p>
</body>
</html>
You can use the following to pass "Strict" HTML coding requirements. I
would suggest that you use this one:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>
Signature
</title>
<meta name="generator"
content="HTML-Kit">
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
</head>
<body>
<hr>
<p style="font: Tahoma, Arial; font-size: 1em">
<span style="font-weight: 800">MIRA Ltd</span><br>
Watling Street, Nuneaton, Warwickshire, CV10 0TU, England.<br>
Registered in England and Wales No. 402570<br>
VAT Registration GB 114 5409 96<br>
<br>
The contents of this e-mail are confidential and are solely for
the use of the intended recipient.<br>
If you receive this e-mail in error, please delete it and notify
us either by e-mail, telephone or fax.<br>
You should not copy, forward or otherwise disclose the content of
the e-mail as this is prohibited.<br>
</p>
</body>
</html>
Good luck!
--
“Gerard”
gerard at seibercom.net
We must remember the First Amendment which
protects any shrill jackass no matter how self-seeking.
F. G. Withington
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080521/7b7c2fb5/signature.bin
More information about the MailScanner
mailing list