
1
Target Outlook.com using the [owa] Element does not work
Hi, Could it be possible that outlook.com can no longer be accessed targeting with this hack?
<style type="text/css">
[owa] .anyclass {
color: #26d0ae;
}
</style>
Any solution?
Thanks
I answer myself.
Outlook.com has changed with the latest update.
The hack still works. But if you put the hack after a media querie, outlook.com removes all the css from the media querie until the close of </ style>
Example:
This NOT WORK:
This WORK:
I'm still having problems with Outlook.com not rendering any styling in the [OWA] hack.
What's even stranger for me is, Outlook.com does not render the styles defined with [owa] in the preview pane, but if you double click and open the email in it's own window everything displays correctly.
I tried your example above and it did not work. I even tried placing the media queries in a second style tag below the main one, but that didn't seem to help either.
What' also maddening, is it works in one test blast, but send the HTML in a second test blast and it works only to not work again in the third test blast.
¯_(ツ)_/¯
Well i can tell that if you use it before the media query and you need to check that CSS selector is on point.
Meaning that the css selector is something that we sometimes miss (with space or without and so on).
But also, use <--(if mso)--> for content control. this way you can inline css inside the element that will help you do what you need.
This still works for me but not on all tag types. Works well on tds. Make se sure Outlook.com supports whatever css you are using
This seems to only work on outlook Explorer? Is this not supported on chrome or firefox?