html - The 'lang' selector for css is not working in gmail -
i'm using * [lang~=x-divbox] selector designing newsletter (mailchimp) work in gmail (table of content)
i worked out solution in old template still works, when use in new template it's not working: here's code i'm using , screenshot comparison (and identical):
* [lang~=x-divbox]{ /*@editable*/background-color:#939598; } * [lang~=x-divbox] h2{ /*@editable*/color:#fffffe!important; /*@editable*/font-family:arial; } * [lang~=x-divbox] ul{ /*@editable*/margin:0 !important; /*@editable*/padding:0 !important; /*@editable*/font-family:arial; } * [lang~=x-divbox] li{ /*@editable*/margin:0 !important; /*@editable*/padding:0 !important; /*@editable*/list-style-type:none !important; /*@editable*/color:#fffffe !important; } * [lang~=x-divbox] a{ /*@editable*/display:block !important; /*@editable*/padding:10px 0 !important; /*@editable*/color:#fffffe !important; /*@editable*/text-decoration:none; border-bottom:1px solid #fffffe !important; }
the html part:
<tr> <td><a name="top"></a></td></tr>
in issue... |mc:toc|
it's not allowing me post full code here:
this how should working:
and how looks now:
i don't know else i'm supposed looking at.
all know it's google ignoring lang in 1 case.
this see's in working example:
and sees not working 1 (no mentioning of selector):
if using @media queries in style, gmail blocks whole css. try containing [lang] css need in separate style, might trick.
Comments
Post a Comment