Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Outlook (Word) 2007 HTML and CSS rendering capabilities

 
   Home -> Office -> Mail RSS
Next:  Mail: Use of mail forums _ I agree everyone should be told  
Author Message
"Zeyad Rajabi

External


Since: Aug 14, 2006
Posts: 1



(Msg. 1) Posted: Mon Aug 14, 2006 10:45 am
Post subject: Outlook (Word) 2007 HTML and CSS rendering capabilities
Archived from groups: microsoft>public>word>mail (more info?)

Question: Why does Outlook 2007 (WordMail) render HTML the way it
does?

Question: How do you create e-mails that will look great in Outlook or
Word 2007?



The answers to these questions can be found in the following MSDN articles:

a.. Word 2007 HTML and CSS Rendering Capabilities in Outlook 2007 (Part 1
of 2): http://msdn2.microsoft.com/en-us/library/aa338201.aspx
b.. Word 2007 HTML and CSS Rendering Capabilities in Outlook 2007 (Part 2
of 2): http://msdn2.microsoft.com/en-us/library/aa338200.aspx
c.. 2007 Office System Tool: Outlook HTML and CSS Validator:
http://www.microsoft.com/downloads/details.aspx?familyid=0b764c08-0f86...1e-8bd5
The above articles give specific details on Word's HTML and CSS
specification. The articles provide information on supported and unsupported
HTML and CSS properties as compared to HTML 4.01 and CSS 1.0 and 2.0
specifications. Also included are validator tools that will validate HTML
and CSS against Word's HTML and CSS schema that will work in the following
programs:



· Microsoft Visual Studio 2005

· Microsoft SharePoint Designer 2007

· Microsoft Expression Web Designer 2007

· Macromedia Dreamweaver MX 2004

· Macromedia Dreamweaver 8



If you have any questions or comments, please feel free to contact me.



Thanks,

Zeyad Rajabi (MS)
Back to top
Login to vote
Kris

External


Since: Mar 27, 2006
Posts: 44



(Msg. 2) Posted: Wed Oct 18, 2006 7:47 am
Post subject: RE: Outlook (Word) 2007 HTML and CSS rendering capabilities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I can understand the word 2007 capabilities document. It says that using
background:url(image here) will not work, as it is not supported. My question
is...why? Also, when?
Why not support it? When will it be implemented. Why would you just skip
that over? Is it just not implemented, or will it never be implemented?
If this feature, and the many CSS tags listed in the unsupported section of
the capabilities chart are never going to be supported....then I think I'll
reconsider my decision to purchase office 2007 when it comes out, because
that's rediculous.


"Zeyad Rajabi (MS)" wrote:

> Question: Why does Outlook 2007 (WordMail) render HTML the way it
> does?
>
> Question: How do you create e-mails that will look great in Outlook or
> Word 2007?
>
>
>
> The answers to these questions can be found in the following MSDN articles:
>
> a.. Word 2007 HTML and CSS Rendering Capabilities in Outlook 2007 (Part 1
> of 2): http://msdn2.microsoft.com/en-us/library/aa338201.aspx
> b.. Word 2007 HTML and CSS Rendering Capabilities in Outlook 2007 (Part 2
> of 2): http://msdn2.microsoft.com/en-us/library/aa338200.aspx
> c.. 2007 Office System Tool: Outlook HTML and CSS Validator:
> http://www.microsoft.com/downloads/details.aspx?familyid=0b764c08-0f86...1e-8bd5
> The above articles give specific details on Word's HTML and CSS
> specification. The articles provide information on supported and unsupported
> HTML and CSS properties as compared to HTML 4.01 and CSS 1.0 and 2.0
> specifications. Also included are validator tools that will validate HTML
> and CSS against Word's HTML and CSS schema that will work in the following
> programs:
>
>
>
> · Microsoft Visual Studio 2005
>
> · Microsoft SharePoint Designer 2007
>
> · Microsoft Expression Web Designer 2007
>
> · Macromedia Dreamweaver MX 2004
>
> · Macromedia Dreamweaver 8
>
>
>
> If you have any questions or comments, please feel free to contact me.
>
>
>
> Thanks,
>
> Zeyad Rajabi (MS)
>
>
>
Back to top
Login to vote
John Doe

External


Since: Nov 29, 2006
Posts: 1



(Msg. 3) Posted: Wed Nov 29, 2006 3:27 pm
Post subject: RE: Outlook (Word) 2007 HTML and CSS rendering capabilities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Zeyad Rajabi (MS)" wrote:

> Question: Why does Outlook 2007 (WordMail) render HTML the way it
> does?
>
> The answers to these questions can be found in the following MSDN articles:
>
> *snip*
> If you have any questions or comments, please feel free to contact me.
>
> Thanks,
> Zeyad Rajabi (MS)

The article does not explain the WHY question.
What is the motivation to drop support for so many CSS items?
Is it supposed to be a mitigation for phising emails?

All I know is that legit (X)HTML emails are not being correctly displayed in
Outlook 2007 whereas the (X)HTML itself renders fine in IE/Firefox.

-- A number of common CSS features are not supported (including float,
background-image!?)
--> I now have to resort to TABLEs to render otherwise simple things.

-- Setting the background-color on a DIV tag doesn't give the expected
result (there appears to be a margin, which cannot be disabled using "margin:
0")

-- Using multiple CSS class names in an HTML CLASS attribute doesn't work,
example:
<div class="box greenBackground">
content goes here
</div>

Only the first class is applied???

In the spec (MSDN), the CSS "display" element is first said to be present in
"CORE", only to claim it isn't supported in "Unsupported Cascading Style
Sheet Properties Compared with Cascading Style Sheets, Level 1" and
"Unsupported Cascading Style Sheet Properties Compared with Cascading Style
Sheets, Level 2.1".

The latter appears to be correct, "display" has no effect.

It isn't even possible to attach a "rich HTML file" as attachment in
Outlook2007 and preview it in the preview tab, because Outlook2007 has no
built-in previewer for HTML files ("full" HTML/CSS --> IE/Firefox).

I'm sorry, but creating good-looking e-mails for Outlook2007 is a hassle,
whereas Outlook2003 works great. Why should we upgrade to Outlook2007???
Back to top
Login to vote
pete.trainor

External


Since: Jan 10, 2007
Posts: 1



(Msg. 4) Posted: Wed Jan 10, 2007 8:27 am
Post subject: Re: Outlook (Word) 2007 HTML and CSS rendering capabilities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Why should we upgrade to Outlook2007???" - unfortunately from a
developers point of view, its going to be a case of not upgrading...
we're trying to build emails for many thousands of corporate clients
who are all going to be automatically upgrading & expect their emails
to look great...... which equals - Microsoft screwing over the consumer
AGAIN.


John Doe wrote:
> "Zeyad Rajabi (MS)" wrote:
>
> > Question: Why does Outlook 2007 (WordMail) render HTML the way it
> > does?
> >
> > The answers to these questions can be found in the following MSDN articles:
> >
> > *snip*
> > If you have any questions or comments, please feel free to contact me.
> >
> > Thanks,
> > Zeyad Rajabi (MS)
>
> The article does not explain the WHY question.
> What is the motivation to drop support for so many CSS items?
> Is it supposed to be a mitigation for phising emails?
>
> All I know is that legit (X)HTML emails are not being correctly displayed in
> Outlook 2007 whereas the (X)HTML itself renders fine in IE/Firefox.
>
> -- A number of common CSS features are not supported (including float,
> background-image!?)
> --> I now have to resort to TABLEs to render otherwise simple things.
>
> -- Setting the background-color on a DIV tag doesn't give the expected
> result (there appears to be a margin, which cannot be disabled using "margin:
> 0")
>
> -- Using multiple CSS class names in an HTML CLASS attribute doesn't work,
> example:
> <div class="box greenBackground">
> content goes here
> </div>
>
> Only the first class is applied???
>
> In the spec (MSDN), the CSS "display" element is first said to be present in
> "CORE", only to claim it isn't supported in "Unsupported Cascading Style
> Sheet Properties Compared with Cascading Style Sheets, Level 1" and
> "Unsupported Cascading Style Sheet Properties Compared with Cascading Style
> Sheets, Level 2.1".
>
> The latter appears to be correct, "display" has no effect.
>
> It isn't even possible to attach a "rich HTML file" as attachment in
> Outlook2007 and preview it in the preview tab, because Outlook2007 has no
> built-in previewer for HTML files ("full" HTML/CSS --> IE/Firefox).
>
> I'm sorry, but creating good-looking e-mails for Outlook2007 is a hassle,
> whereas Outlook2003 works great. Why should we upgrade to Outlook2007???
Back to top
Login to vote
Kris

External


Since: Mar 27, 2006
Posts: 44



(Msg. 5) Posted: Thu Jan 11, 2007 9:10 pm
Post subject: Re: Outlook (Word) 2007 HTML and CSS rendering capabilities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It's good to see that i wasnt alone in my strife.
I thought I was going insane when outlook 2007 wasnt rendering html as good
as a standard browser could. Absolutely rediculous...and to think, I helped
beta test this piece of software that microsoft has used to slap me in the
face with.

"pete.trainor@tequila-uk.com" wrote:

> "Why should we upgrade to Outlook2007???" - unfortunately from a
> developers point of view, its going to be a case of not upgrading...
> we're trying to build emails for many thousands of corporate clients
> who are all going to be automatically upgrading & expect their emails
> to look great...... which equals - Microsoft screwing over the consumer
> AGAIN.
>
>
> John Doe wrote:
> > "Zeyad Rajabi (MS)" wrote:
> >
> > > Question: Why does Outlook 2007 (WordMail) render HTML the way it
> > > does?
> > >
> > > The answers to these questions can be found in the following MSDN articles:
> > >
> > > *snip*
> > > If you have any questions or comments, please feel free to contact me.
> > >
> > > Thanks,
> > > Zeyad Rajabi (MS)
> >
> > The article does not explain the WHY question.
> > What is the motivation to drop support for so many CSS items?
> > Is it supposed to be a mitigation for phising emails?
> >
> > All I know is that legit (X)HTML emails are not being correctly displayed in
> > Outlook 2007 whereas the (X)HTML itself renders fine in IE/Firefox.
> >
> > -- A number of common CSS features are not supported (including float,
> > background-image!?)
> > --> I now have to resort to TABLEs to render otherwise simple things.
> >
> > -- Setting the background-color on a DIV tag doesn't give the expected
> > result (there appears to be a margin, which cannot be disabled using "margin:
> > 0")
> >
> > -- Using multiple CSS class names in an HTML CLASS attribute doesn't work,
> > example:
> > <div class="box greenBackground">
> > content goes here
> > </div>
> >
> > Only the first class is applied???
> >
> > In the spec (MSDN), the CSS "display" element is first said to be present in
> > "CORE", only to claim it isn't supported in "Unsupported Cascading Style
> > Sheet Properties Compared with Cascading Style Sheets, Level 1" and
> > "Unsupported Cascading Style Sheet Properties Compared with Cascading Style
> > Sheets, Level 2.1".
> >
> > The latter appears to be correct, "display" has no effect.
> >
> > It isn't even possible to attach a "rich HTML file" as attachment in
> > Outlook2007 and preview it in the preview tab, because Outlook2007 has no
> > built-in previewer for HTML files ("full" HTML/CSS --> IE/Firefox).
> >
> > I'm sorry, but creating good-looking e-mails for Outlook2007 is a hassle,
> > whereas Outlook2003 works great. Why should we upgrade to Outlook2007???
>
>
Back to top
Login to vote
David Mead

External


Since: Jan 15, 2007
Posts: 1



(Msg. 6) Posted: Mon Jan 15, 2007 11:33 am
Post subject: RE: Outlook (Word) 2007 HTML and CSS rendering capabilities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I downloaded the validator for Macromedia Dreamweaver 8 and installed it but
can find no documentation anywhere on how to run this. I also can see no new
icon or commands in Dreamweaver 8.

Please advise on how to use this.
Back to top
Login to vote
David Mead

External


Since: Jan 15, 2007
Posts: 1



(Msg. 7) Posted: Mon Jan 15, 2007 1:16 pm
Post subject: RE: Outlook (Word) 2007 HTML and CSS rendering capabilities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for the help. After installing a couple of times and then reading
your reply I noticed that under "target browser" there is now a Word 2007
entry. Checking that gave me the report.

On a very basic email I had five errors:

* Title attribute not supported in any <a>
* Text attribute in the <body>
* The lang attribute not supported in the <html>
* Background attribute not supported in any <table>

Personally I find this insane! What is the point of "supporting" HTML
emails if you can't support the most basic of HTML4 attributes.
Back to top
Login to vote
geralddean

External


Since: Mar 23, 2007
Posts: 1



(Msg. 8) Posted: Fri Mar 23, 2007 10:53 am
Post subject: RE: Outlook (Word) 2007 HTML and CSS rendering capabilities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I installed it 2x and did not see it in the list either.

The set up depends on which version you have installed. I have only
Dreamweaver 8 installed but for some reason it is set up to automatically
install in DreamweaverMX2004 which I do not have installed.

The correct folder is:
C:\Program Files\Macromedia\Dreamweaver 8\Configuration\BrowserProfiles



"David Mead" wrote:

> I downloaded the validator for Macromedia Dreamweaver 8 and installed it but
> can find no documentation anywhere on how to run this. I also can see no new
> icon or commands in Dreamweaver 8.
>
> Please advise on how to use this.
Back to top
Login to vote
(1 vote)
CrickW




Joined: Aug 09, 2007
Posts: 1



(Msg. 9) Posted: Thu Aug 09, 2007 5:28 pm
Post subject: Re: RE: Outlook (Word) 2007 HTML and CSS rendering capabilit [Login to view extended thread Info.]

Thanks GeraldDean. I was pulling my hair out until I found your post. Simple solution to a banal oversight by MSFT.
Back to top
Login to vote
mooshoe




Joined: Aug 21, 2007
Posts: 1



(Msg. 10) Posted: Tue Aug 21, 2007 4:25 pm
Post subject: Re: RE: Outlook (Word) 2007 HTML and CSS rendering capabilit [Login to view extended thread Info.]

Hi there

I am probably having the same issue - I have installed the code validator but can't seem to find where to ensure that my 'Check browser' option is checking the code against Word 2007. Please can you assist.
I am using Dreamweaver MX

thanks!!
Back to top
Login to vote
Noodle




Joined: Feb 12, 2008
Posts: 1



(Msg. 11) Posted: Tue Feb 12, 2008 7:04 am
Post subject: [Login to view extended thread Info.]

Not buying 2007 isn't an option if you are a developer, as pete.trainer has pointed out. However, the following macro in a word doc may ease testing:
Code:
Private m_sContentPath As String

Private Function WordApplicationGetOpenFileName(FileFilter As String, ReturnPath As Boolean, ReturnFile As Boolean) As String
    ' returns the folder and/or filename to a single user selected file
    Dim strFileName As String, strPathName As String
   
    If Not ReturnPath And Not ReturnFile Then Exit Function
    If FileFilter = "" Then FileFilter = "*.*"
   
    With Application.Dialogs(wdDialogFileOpen)
        .Name = FileFilter
        On Error GoTo MultipleFilesSelected
        If .Display = -1 Then
            strFileName = .Name
        End If
        On Error GoTo 0
    End With
   
    On Error GoTo 0
    ' remove any "-characters
    If InStr(1, strFileName, " ", vbTextCompare) > 0 Then
        strFileName = Mid$(strFileName, 2, Len(strFileName) - 2)
    End If
   
    If ReturnPath Then
        strPathName = CurDir & Application.PathSeparator
    Else
        strPathName = ""
    End If
   
    If Not ReturnFile Then strFileName = ""
    WordApplicationGetOpenFileName = strPathName & strFileName
   
MultipleFilesSelected:
End Function

Public Function SetContentPath() As Boolean
   
    SetContentPath = False
    Dim sTmp As String
    sTmp = WordApplicationGetOpenFileName("*.*", True, True)
    If (StrPtr(sTmp) > 0) Then
        m_sContentPath = sTmp
        SetContentPath = True
    End If
   
End Function
Public Sub ReloadFromFile()

    If (Len(m_sContentPath) = 0) Then
        If (Not SetContentPath) Then
            Exit Sub
        End If
    End If

    ThisDocument.Content.Select
    Selection.Delete
    ThisDocument.Content.InsertFile m_sContentPath

End Sub


If you don't see the "Developer" tab in Word 2007, click Menu->Word Options->Popular->Show Developer Tab In Ribbon. Then add a button for "ReloadFromFile()" (Right-click ribbon->Customize Quick Access->Select "Macros" instead of "Popular Commands" in the first drop-down, and select the subroutine from the list)
Back to top
Login to vote
nfolsom




Joined: Mar 27, 2008
Posts: 1



(Msg. 12) Posted: Thu Mar 27, 2008 12:10 pm
Post subject: Outlook (Word) 2007 HTML and CSS rendering INCAPCITIES. [Login to view extended thread Info.]

While I can recommend my clients not upgrade to Office 2007, I can't guarantee the whole world will abide by my wishes.

I develop HTML content in Visual Studio that is emailed, and, I, too, thought I was going nuts when the content was being totally munged in one recipient's email.

So, I Google only to find that this has been a frustration for developers since Office 2007 was released and absolutely nothing from MS but validators that tell me form, input, onload, and media aren't legal. Lessee, can we say...back to when the choice was between pica and elite?

What ever happened to Ballmer's mantra "Developers! Developers! Developers!" As in..."It's the developer's, stupid?"

Grrr. </ rant >
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Mail All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]