[英]H1 not showing up
I am having trouble getting my h1 to show up.我很难让我的 h1 出现。 I see that it is there in inspect element but I do not see it in my browser.
我看到它在检查元素中,但我在浏览器中没有看到它。 I have tried making the text different colors, but with no luck.
我试过使文本颜色不同,但没有运气。 FYI, I am using EJS so there are those tags but in inspect element I see the right value of the H1.
仅供参考,我正在使用 EJS,所以有这些标签,但在检查元素中,我看到了 H1 的正确值。 Thank you, Ben
谢谢你,本
<div id="showContainer">
<div id="showTitle">
<h1><%=blog.title%></h1>
</div>
</div>
in css add this在css中添加这个
h1 {
font-size: 24px !important;
display: inline-block !important;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.