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
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:11:122243browse

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?