如何在较小的屏幕上停止'html_entity_decode'减小字体大小?

时间:2020-07-15 09:07:50

标签: php html phpmyadmin font-size htmldecode

我正在从phpmyadmin中的数据库中检索正文。要删除html实体,我编写了以下代码:

<h4><?php echo html_entity_decode($post['body']); ?></h4>

但是,通过添加“ html_entity_decode”,这会在较小的屏幕中显着减小字体大小,但是在删除解码后又恢复了正常。我该如何解决?

p.s-对于较小的屏幕,我也尝试使用!important标签覆盖css中的h4,但没有任何效果。谢谢。

0 个答案:

没有答案