gpt4 book ai didi

html - CSS Windows 兼容性

转载 作者:太空宇宙 更新时间:2023-11-03 23:01:28 24 4
gpt4 key购买 nike

此页面的 Logo 在窗口中显示在其位置之外:

contraindicaciones.net

但是标记非常简单。 其中哪些与 Windows 不兼容?

这是一个 Windows7 + Chrome49 测试屏幕截图(在较新的 Windows 操作系统中是相同的):

test screen capture

HTML:

<div class="site-branding hidden-xs">
<div class="s s-weblog"></div>
<a class="site-title" href="<?= esc_url(home_url('/')); ?>"><?php bloginfo('name'); ?></a>
<p class="site-description">
<?php bloginfo('description'); ?>
</p>
</div>

SCSS:

.site-branding {
text-align: center;
.s-weblog {
font-size: 128px;
height: 135px;
}
.site-title {
font-size: 28px;
padding: 0;
}
.site-description {
margin-bottom: 30px;
font-style: italic;
}
}

提前谢谢你!

最佳答案

问题似乎出在字体本身。在这里阅读 Fix custom font line-height with CSS

一个简单的解决方法是使用相对/绝对定位

关于html - CSS Windows 兼容性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36303444/

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