DN
0
Image size in yahoo! mail
hello everybody
for some reason, images get HUGE in yahoo mail. it seems yahoo trigers the responsive css (although the mail is viewed on desktop).
the css supposed to be trigered at 590px (@media only screen and (max-width:590px) ).
this is the original design (Hebrew)
does any body know hot to fix this?
Hi Doron,
Yeah this is a qwerk in yahoo mail. It doesn't recognise media queries so it will just apply all the styles you've set.
The way to fix it is to use attribute selectors within your media queries.
So instead of writing
you need to write it as;
Yahoo doesn't recognise this attribute selector format so won't render this bit of CSS. Still use the normal format for anything you do want Yahoo to render.
Cheers,
Mark
you can use this:
<body yahoo="fix">
and the style will be:
i.e. body[yahoo] table {background:#ffffff !important;}