Comments (11)
There's a workaround we're using in Mail Designer 365: Outlook doesn't understand display:none;
ยนโพ but T-Online does. So you can do:
<p>Renders everywhere.</p>
<!--[if mso]>
<p style="display:none;">Renders in Outlook only.</p>
<![endif]-->
- AFAIK, Outlook only understands
display:none;
on TABLE elements.
from email-bugs.
@adrianthomas yes Outlook 365 supports it at least for <center>
elements. i tried it today. I had to hide the Text inside a VML Button (https://buttons.cm/) because T-Online shows the Button Text twice.
from email-bugs.
It looks like this issue has been rectified. No mso content is being rendered, as far as I can see ๐
from email-bugs.
Thanks so much for documenting this and making my life easier today.
from email-bugs.
Is there any solution for this?
from email-bugs.
@DarkDust ah that's clever worth adding to the list here if you can https://howtotarget.email/
Also to target just T-Online you can use <!--[if false]> T-Online <![endif]-->
from email-bugs.
new Outlook Clients support display: none
, that's why we need an additional <!--[if mso]>p.target-class {display: block !important}<![endif]-->
to show the content, if it's hidden. t-online keeps the content hidden, because it deletes all the <style>
Blocks
from email-bugs.
new Outlook Clients support
display: none
, that's why we need an additional<!--[if mso]>p.target-class {display: block !important}<![endif]-->
to show the content, if it's hidden. t-online keeps the content hidden, because it deletes all the<style>
Blocks
You mean they support display: none
outside of tables? Which clients, the new iOS Outlook?
from email-bugs.
@longtowner You made my day! Works like a charm ๐ช
from email-bugs.
Nice, thanks for sharing @NivenRanchhod this is great news
from email-bugs.
Unfortunately, T-Online has released a new preprocessor. The new one removes all comments, including all conditionals as well as all <style> blocks. The source of the email of which I've attached the code contains several <style> blocks as well as conditionals (some using the <!-- [if tonline]> hack). It's all removed :-(
from email-bugs.
Related Issues (20)
- Gmail now showing "Message clipped" UI on (some) short emails HOT 4
- Windows Outlook: Setting margin-top or margin-bottom on a table adds padding to every cell within the table.
- Long url overlaps block in web-based clients HOT 7
- Orange email app not taking width in media queries HOT 2
- Outlook keeps only the first class in `class` attribute, ignoring everything else HOT 2
- Windows 10 Mail will underline links by default (even with text-decoration: none specified inline) HOT 2
- Gmail incorrectly prefixes class names when translation is enabled HOT 2
- [Outlook Android] `!important` added to `max-width` property to `img` inside `table` HOT 3
- zoho mail removes selectors with general sibling combinator `~` HOT 1
- SFR adds `margin:auto` to all tags
- SFR changes `font-weight`
- Outlook for Mac/iOS is not rendering cellspacing
- Cutting umlauts at capitalized ร, ร, ร letters in Outlook HOT 2
- Gmail is threading emails and completely changing the header HOT 6
- mail.ru removes <caption> element HOT 1
- Email shows blank in AppleMail when using container or container-type HOT 1
- [K-9 for android] CSS header styles for dark mode are ignored and overwritten
- Gmail desktop Chrome no longer supporting CSS background images HOT 3
- White lines appear in Gmail Mobile App on iPhone 13/14 HOT 3
- Current Streaks and Longest Streaks bugs on README.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from email-bugs.