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:

enter image description here

this how should working:

enter image description here

and how looks now:

enter image description here

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:

enter image description here

and sees not working 1 (no mentioning of selector):

enter image description here

if using @media queries in style, gmail blocks whole css. try containing [lang] css need in separate style, might trick.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -