pixelHeight attribute in CSS_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:22:10
Original
1553 people have browsed it

CSS JavaScript

What is the difference between this attribute and height? I saw this attribute in js when I was looking for the div folding code.


mrc.style.pixelHeight mrc is the id of a div.

Please tell me. There is no comment on the pixelHeight attribute online. Please tell me how to recursively call setTimeout for folding to achieve the accumulation or decrement of the pixelHeight attribute. Why doesn't height work?


Reply to discussion (solution)

One is string (with unit, cannot be used for calculation), the other is int/float

Related labels:
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