..." Can."/>

..." Can.">

Home  >  Article  >  Backend Development  >  How to set print font size in php

How to set print font size in php

藏色散人
藏色散人Original
2021-11-04 09:54:283249browse
How to set the print font size in php: 1. Create a PHP sample file; 2. Pass "e388a4556c0f65e1904146cc1a846beed8ab3a05ce286498c6fa74a83087a2bb94b3e26ee717c64999d7867364b1b4a3... ” method to set the print font size.

How to set print font size in php

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 __(&#39;Company&#39;); ?></p>
<ul>
<li><?php echo HTML::anchor(Path::contact(),__(&#39;Contact Us&#39;)); ?></li>
<li><?php echo HTML::anchor(Path::privacy(),__(&#39;Privacy Policy&#39;)); ?></li>
<li><?php echo HTML::anchor(Path::terms(),__(&#39;Terms of Service&#39;)); ?></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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn