Home  >  Article  >  Web Front-end  >  Why is the absolutely positioned div not centered in IE6? _html/css_WEB-ITnose

Why is the absolutely positioned div not centered in IE6? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:17:41812browse

Why is the absolutely positioned div not centered in IE6?
demo: http://linjuming.pydra.org/leb/ie6_close_position/index.html


Reply to discussion (solution)

Website It can’t be opened. How do you center it with absolute positioning? Absolute positioning sometimes changes position with the size of the browser

I tested it here and it’s normal under IE6!

abandon ie6

IE6 is normal and OK

It can be centered.

Statement:
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