html - 链接不带下划线的 html(文本装饰:无无效)
问题描述
写一个 html 签名,“text-decoration: none;” (适用于一个链接)仅在我用浏览器打开 html 文件的情况下才有效。如果我尝试发送带有签名的电子邮件,则下划线返回。
这是我的代码:
<a href="Link to the site"style="text-decoration: none; color:#C45911">https://Link </a>
解决方案
我想text-decoration: none
物业工作得很好。有两个可能的问题: 1:其他一些样式表正在更改属性a:link
2:如果您使用的是 react 之类的框架,则首先编译您的 css,然后再应用其他 css 文件。您可以使用并单击链接顶部来检查哪个 css 文件正在更改a:link
Chrome 上的标签属性ctrl+alt+c
推荐阅读
- wordpress - 多站点上的 Wordpress 插入图像仅适用于站点 1
- ruby - Ruby 桌面截图
- google-cloud-firestore - 如何允许依赖其登录选项的用户访问数据
- python - 特定 Twitter 用户未使用 user_timeline() 返回推文
- laravel - 连接到 Laravel 中的 AWS RDS 代理
- powershell - 为什么我不能在这个变量中选择任何东西?
- mysql - 选择列具有具有相似 ID 的特定值的行
- audio - 使用 export() 导出 wav 文件会给音频添加很多噪音?
- python - Python:是否可以修改内置函数属性的可写性?
- android - 未生成 DaggerAppComponent