MF
0
Targeting outlook.com
I have tried the ways that I have found to target Outlook.com but they seem to be out of date or do not work.
I have tried:
[class="x_foo"] { background-color: red !important; }
.ExternalClass .foo { background-color: red !important; }
[owa] .foo { background-color: red !important; }
These are placed withing in <head> tag.
<style type="text/css">
CSS here
</style>
Thanks For sharing this valuable information. if you like this article is only for you guys. https://malayalam-typing-online.in/
Facing same issue but no response from anyone and couldn't find this topic troubleshooting in google.
Try this in your <style> tag:
[class="x_foo"] {
css here
}
Outlook.com prefixes class names with x_ but doesn't do it on attribute selectors. So <div class="foo"> can be targeted with [class="x_foo"] and it'll only apply to Outlook.com.
I don't believe the [owa] hack works anymore, so it can be safely removed.
Format : eTenet Employee Login