All of the following resets have been tested and are no longer necessary.
Deprecated: 2016?
#outlook a {
padding: 0;
}
This was used to force Outlook on Windows to provide a "View in Browser" message that the user could click to view the email in their browser.
While this was never intended for styling purposes, we've included it since it can (still!) be commonly found in 'email reset boilerplate' code, and it can be safely removed.
Deprecated: February 2021
.ReadMsgBody {
width: 100%;
}
The .ReadMsgBody
class was used to force Hotmail/Outlook.com to display the email at full width.
Deprecated: February 2021
.ExternalClass {
width: 100%;
}
.ExternalClass
was also used to target Hotmail/Outlook.com.
This was also used to reset the line-height:
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
Deprecated: June 2021
* {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
webkit-
and ms-
prefixed text-size-adjust
were used to render font sizes under 13px - an antipattern commonly used in footer text in the past.
It is now common practice to use a 14px minimum font size, for legibility.
Deprecated: June 15, 2022
img {
-ms-interpolation-mode: bicubic !important;
}
-ms-interpolation-mode
was used for re-sampling images that needed to stretch.
Since IE8, this has been set as bicubic
.
This now only works in IE11, which also has a default of bicubic
. Outlook also has bicubic
set as default, so no need to specify it anymore.
Deprecated: N/A
.yshortcuts,
.yshortcuts:hover,
.yshortcuts:active,
.yshortcuts:focus {
background-color: none;
border: none;
color: #000000;
text-decoration:none;
}
Yahoo! used to convert some keywords in your text to links.
Sometimes, if you were using link names to popular items like "Washer & Dryer", Yahoo! inserted a <span class="yshortcuts">
inside your <a>
tags.
Deprecated: June 14, 2021
body[data-outlook-cycle] a {
color: inherit !important;
text-decoration: none;
}
This was used to reset styling of auto-linked text in the Outlook apps (iOS and Android), but an update rolling out since June 14th 2021 has rendered this useless.
Deprecated: June 2021
Prevented Gmail from changing the text color in conversation threads.
.im {
color: inherit !important;
}
Deprecated: June 2021
Prevented Gmail from displaying a download button on large, non-linked images.
.a6S {
display: none !important;
opacity: 0.01 !important;
}
Deprecated: June 2021
Prevented Gmail from auto-styling triggered links, like dates or phone numbers.
.aBn {
border-bottom: 0 !important;
cursor: default !important;
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}