gpt4 book ai didi

asp.net-mvc - 圆形图像和背景颜色打印失败

转载 作者:行者123 更新时间:2023-11-28 09:54:57 25 4
gpt4 key购买 nike

打印页面时,用户需要取消选中“页眉和页脚”以获得圆形格式的图像,并且需要选中“背景颜色和图像”以获得纸上的背景颜色。

enter image description here

@@media print {
img {
border: 5px solid rgba(255,255,255,1.0);
border-radius: 100px;
}
table {
background-color: rgba(244,244,244,1.00);
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 'DejaVu Sans', 'Verdana', 'sans-serif';
font-size: 12px;
color: #a9a9a9;
}
}

人们在打印时使用默认设置。我怎样才能使图像看起来像圆形,背景颜色默认为 rgba(244,244,244,1.00)。

最佳答案

使用 IMG 标签。 IMG标签用于当有人希望他的页面被打印时,background-image默认不打印。

关于asp.net-mvc - 圆形图像和背景颜色打印失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24929365/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com