Home > Web Front-end > HTML Tutorial > In the same label, why does the first character become larger? _html/css_WEB-ITnose

In the same label, why does the first character become larger? _html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:11:12
Original
2247 people have browsed it

Liu Tianxia is similar to this, also in


Reply to discussion (solution)

Set the font. .

There should be other tags here, just set their fonts to be consistent

{$l.user_name}
The words in the
tag are read from the database , there will be one big and one small. If the database writes "Liu Na Liu Nana Liu", then all the characters "Liu" will become larger. The style is display:inline;vertical-align:top;text-align:left;font-size:14px; _font-size:10px;

h4 a {
font-size: consistent with h4
}

It is definitely related to the font. The value in the $l.user_name variable is styled or the browser has set a default font.

Finally figured out, it’s the reason for Microsoft Yahei, Microsoft Yahei is this font………………

Set the font, set the font size, and check if there is a tag at the end Is it complete

Are you sure it is not the above

{$l.user_name} is missing a ">" error?

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