locked
css class not supporting outlook web-mail in preview panel RRS feed

  • Question

  • Web mail is not supporting css Class, when it is view through webmail preview panel. it is not taking css bg and font color. but it is taking width and height and not supporting margin:0 auto in preview panel. Please let me know if you have any suggestion to make work in Preview panel.
    Thursday, April 19, 2018 2:01 AM

All replies

  • Hi,

    eml files are not html files. You can only use inline css to format eml documents. Any style or script blocks are removed before they are rendered in an iframe.

    <body style="background-color:black;width:100%;height:100%">

    Regards.

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions.

    stackoverflow is a coders forum.


    Rob^_^

    Thursday, April 19, 2018 8:35 PM