How to set the print font size in php: 1. Create a PHP sample file; 2. Pass "... ” method to set the print font size.
The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer
How to set the print font size in php?
How to modify the font size of a web page written in php The code is as follows:
<div class="bottom-text footer-columns"> <p><?php echo __('Company'); ?></p> <ul> <li><?php echo HTML::anchor(Path::contact(),__('Contact Us')); ?></li> <li><?php echo HTML::anchor(Path::privacy(),__('Privacy Policy')); ?></li> <li><?php echo HTML::anchor(Path::terms(),__('Terms of Service')); ?></li> </ul> </div>
You can modify the font size of contact us. To control the font size, of course, use styles. You can just write it directly in li.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of How to set print font size in php. For more information, please follow other related articles on the PHP Chinese website!