Home > Web Front-end > HTML Tutorial > About the problem of setting the position of Chinese characters in Html_html/css_WEB-ITnose

About the problem of setting the position of Chinese characters in Html_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:13:42
Original
2455 people have browsed it

");
sTemp.append(" < tr>");
sTemp.append(" ");
sTemp.append(" ");



I want this unit: element to be aligned downwards, can I do it? Please give me some advice


Reply to the discussion (solution)

I don’t understand what Mozi means? ? Line-heihgt: What I want to achieve is The customer's basic information check is displayed in the center, and then the unit: Yuan is displayed in small fonts at the end of the same line, and it is best to have the bottom edge close to the bottom line. Can you explain this clearly? Alignment means vertical alignment?

Then wrap the element relative to right: 0;bottom:0;It's a bit complicated. It seems like hehe, but floating is also possible; floating to the right, the element line-height: half of the height

The method you mentioned is indeed a bit complicated, I don't even understand it. , I used a very trick method, but in the end it didn’t achieve the effect I wanted. I have already given it to the client for review. If it doesn’t work, let’s talk about it again! ! When it comes to adjusting this html style, it's a big headache. Thank you! !

na Then wrap the element separately. The parent element is relatively positioned. The element element is absolutely positioned to right:0;bottom:0; it is a bit complicated. It seems like hehe, but floating is also possible; float to the right, and the element is Element line-height: half of the height

Unit: yuan

Isn’t this okay?

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
                 Customer Basic situation check                  Unit: yuan