[Import] CSS to achieve absolute centering of variable height DIV_www.KnowSky.com_html/css_WEB-ITnose

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

Generally speaking, it is more convenient to center a DIV with a specified height vertically and horizontally, but it is a little more troublesome if the height is not determined. I tried it and achieved absolute centering through two auxiliary DIVs. Compatible with standard browsers such as IE and FF.

CSS code: <.....Click to view details
Article source: http://www.knowsky.com/442392.html

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