Use CSS to position text at the bottom of div_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:28:03
Original
1314 people have browsed it

There is no parameter for css text layout to be aligned with the bottom of the container. A good method currently used is also better. It is to use the position attribute to solve the problem. Look at the code below. It is also easy to use the relative and absolute positioning functions of position. It's been implemented. The text is aligned close to the bottom of the div, and the distance can be accurate to pixels. You can adjust it yourself. Isn't it great?

"http://www.w3.org/TR/html4/loose.dtd">



Untitled Document





aadsad





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