ul标签在FF中默认只有padding值(即:padding-left:40px)

本文深入探讨了信息技术领域的最新趋势,涵盖了从前端到后端,从移动开发到游戏开发等多个方面,提供了丰富的技术细节和实用案例,是了解当前IT行业不可或缺的资料。

 

转载于:https://www.cnblogs.com/moonsoft/p/10469250.html

*{ margin: 0; padding: 0; } html,body{ height: 100%; } body{ width: 100%; background-image:radial-gradient(#22002a,#01001f) } a{ text-decoration: none; } #movie_info{ width: 990px; margin: 0 auto; padding-bottom: 60px; box-sizing: border-box; } #movie_info .info{ width: 100%; padding-bottom: 15px; border-bottom: 1px dotted rgb(255,255,255,0.3); } #movie_info .info img{ float: left; box-shadow: 0 0 6px #C4C4C4; margin-top: 36px; } table{ margin-top: 20px; margin-right: 10px; float: right; color: white; font-size: 13px; } table,tr,td,th{ border: none; } th{ font-size: 22px; text-align: left; height: 38px; line-height: 38px; color: #fdfed2; } td{ width: 240px; line-height: 24px; } table a{ display: block; width: 100px; height: 30px; line-height: 30px; border-radius: 5px; color: #FFFFFF; text-align: center; margin-top: 15px; } table .lookInfo{ background-image:linear-gradient(#9ac534,#427e22) ; } table .buy{ background-image:linear-gradient(#ff8b45,#ff5200) ; } table .score{ color: #f2a32e; } table .score .star{ margin-left: 15px; display: inline-block; width: 103px; height: 20px; background: url(../images/star_big.png) left -80px no-repeat; } table .score em{ font-size: 28px; color: #f2a32e; } #movie_info .info:after,#movie_info ul:after{ content: ""; display: block; clear: both; } /*猜你喜欢*/ #movie_info .like{ position: relative; } #movie_info .like span{ position: absolute; top: 10px; left: 25px; display: block; width: 100px; height: 30px; line-height: 30px; border-radius: 2px; background:rgb(220,216,216, 32%); color: #FFFFFF; text-align: center; font-size: 12px; } #movie_info .like ul{ width: 990px; height: 190px; position: absolute; top: 50px; left: 25px; overflow: hidden; } #movie_info .like ul:after{ content: ""; display: block; clear: both; } #movie_info .like li{ width: 119px; text-align: center; float: left; margin-right: 20px; font-size: 12px; color: #e1ab5b; line-height: 20px; cursor: pointer; } #movie_info .like li img{ width: 119px; height: 168px; }。每行代码加上注释
06-01
<!DOCTYPE html> <html> <head> <style> .email-card { max-width: 600px; margin: 20px auto; padding: 25px; border-radius: 8px; background: linear-gradient(135deg, #f6f9fc 0%, #e6f0ff 100%); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); border: 1px solid #d1e3ff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .header { padding-bottom: 15px; border-bottom: 2px solid #4a90e2; margin-bottom: 20px; } .urgency-badge { display: inline-block; background: #ff6b6b; color: white; padding: 5px 12px; border-radius: 20px; font-weight: bold; font-size: 14px; margin-bottom: 10px; } .deadline-highlight { background: #fff9db; border-left: 4px solid #ffd43b; padding: 12px 15px; margin: 15px 0; border-radius: 0 4px 4px 0; } .cta-button { display: inline-block; background: #4a90e2; color: white; padding: 12px 25px; border-radius: 4px; text-decoration: none; font-weight: bold; margin: 20px 0; transition: background 0.3s; } .cta-button:hover { background: #3a7bc8; } .footer { margin-top: 25px; padding-top: 15px; border-top: 1px dashed #d1e3ff; color: #6c757d; font-size: 14px; } </style> </head> <body> <div class="email-card"> <div class="header"> <div class="urgency-badge">重要提醒</div> <h2 style="color: #2c3e50; margin: 5px 0;">目标制订最后期限</h2> </div> <p style="color: #495057; line-height: 1.6;">尊敬的<strong>[收件人姓名]</strong>,</p> <div class="deadline-highlight"> <p style="margin: 0;">请务必在 <strong style="color: #e74c3c;">[截止日期]</strong> 前完成目标制订!</p> </div> <p style="color: #495057; line-height: 1.6;">目标制订是项目成功的关键基础,及时完成将确保:</p> <ul style="color: #495057; padding-left: 20px;"> <li>团队方向明确一致</li> <li>资源分配合理高效</li> <li>进度可追踪可衡量</li> </ul> <p style="color: #495057; line-height: 1.6;">拖延可能导致季度规划延误,影响整体进度。</p> <a href="#" class="cta-button">立即提交目标计划</a> <p style="color: #495057; line-height: 1.6;">如有疑问或需协助,请随时回复此邮件联系。</p> <div class="footer"> <p style="margin: 5px 0;">祝工作顺利,</p> <p style="margin: 5px 0;"><strong>[您的姓名]</strong></p> <p style="margin: 5px 0; font-size: 13px;">[您的职位/部门]</p> </div> </div> </body> </html> 这个样式可以的 只是把这个链接这个位置改一下格式
最新发布
08-22
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值