How to set print font size in php

藏色散人
Release: 2023-03-13 17:38:01
Original
3247 people have browsed it
How to set the print font size in php: 1. Create a PHP sample file; 2. Pass "

... ” 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>
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template