Reputation: 1
I am retrieving body text from the database in phpmyadmin. To remove the html entities I have written the following code:
<h4><?php echo html_entity_decode($post['body']); ?></h4>
However by adding the 'html_entity_decode', this reduces the font size significantly in smaller screens but goes back to normal when the decode is removed. How can I fix this?
p.s - I have tried overriding the h4 in css with an !important tag as well for smaller screens but nothing works. Thanks.
Upvotes: 0
Views: 160