php - 每种分辨率的字体变化
问题描述
我开发了一个网页。在那个页面中,我使用 php 打印了一些文本。在每个屏幕(分辨率)中,该文本的对齐方式一直在变化。任何人都可以提出什么问题。
这是我的代码,
.collegename {
font-family: "Monda";
color: #000;
position: absolute;
left: 3.8rem;
top: -46.2rem;
font-weight: 300;
font-size: 0.9rem;
text-align: center;
z-index: 1;
}
<h1 class="collegename" id="collegename" style=" text-transform: uppercase;"><span style="font-
family:Segoe UI;font-weight: bold;"><?php echo $insert['college'];?></h1>
解决方案
推荐阅读
- swift - UISearchController 在 iOS 11 Swift 4 上隐藏状态栏
- php - facebook-php-sdk:我无法更新 Adset 的信息
- javascript - 在 Redactor 编辑器中添加类的选项
- scala - 如何在 Spark 中使用带有列类型参数的 instr() 函数
- selenium - TestNG xml + Linux OS + Jenkins --> 什么都没发生
- python - 2.7.3 的 Python -V 告诉我 2.7.15
- php - 如何在 laravel 请求文件中提及 postgres 模式
- wordpress - 禁用 woocommerce 产品报告
- matlab - 如何在 simulink 中为模块创建自己的参数或属性?
- android - 我是否需要为 Android 和 iOS 中的同一个应用程序提供单独的 Facebook 应用程序 ID?