How do I remove link underlining in my HTML email?

后端 未结 23 1749
自闭症患者
自闭症患者 2020-12-08 15:02

    

        
23条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-08 15:26

    While viewing the html email try inspecting the element on that link and see what is overwriting it. Use that class and define it that style again in your head style and define the text-decoration: none !important;

    In my case these are the classes that are overwriting my inline style so declared this on the head of my html email and defined the style that I want implemented.

    It worked for me, hope it will work on your one too.

    .ii a[href]{
    text-decoration: none !important;
    }
    
    #yiv8915438996 a:link, #yiv8915438996 span.yiv8915438996MsoHyperlink{
    text-decoration: none !important;
    }   
    
    #yiv8915438996 a:visited, #yiv8915438996 span.yiv8915438996MsoHyperlinkFollowed{
    text-decoration: none !important;
    }   
    

提交回复
热议问题