@fon-6ren">
gpt4 book ai didi

php - 将获取的数据转换并显示为 Bamini 格式

转载 作者:行者123 更新时间:2023-11-28 07:46:13 24 4
gpt4 key购买 nike

我已使用排序规则 utf8_unicode_520_ci 将数据存储在表中。并且还在我的页面中获取了它。但是当我将 font-family 添加为 Bamini

时,文本保持不变
<input type="text" name="ra1" class="ra1" style="height:60px; width:80px; font-family:Bamini;" value="<?php echo $select_fetch['8'];?>" />

<style>
@font-face {

font-family: 'Bamini';

src: url('font/Bamini.ttf');

}

#ra1{
font-family: Bamini, Helvetica, sans-serif;
}

</style>

如何将其转换为给定的字体??

最佳答案

你确定字体的路径是正确的并且你的服务器/系统上有这个字体吗?其实是可以的

  <style>
h1 {
font-family: Geneva, Arial, Helvetica, sans-serif;
}
p {
font-family: Georgia, 'Times New Roman', Times, serif;
}


</style>

另见 Overriding @font-face src URL?

关于php - 将获取的数据转换并显示为 Bamini 格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30680050/

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