Home > Web Front-end > HTML Tutorial > Questions about different versions of css and js calculation height in different browsers_html/css_WEB-ITnose

Questions about different versions of css and js calculation height in different browsers_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:52
Original
932 people have browsed it

1.Input, in all browsers and all versions, defines the height, and then defines the padding or border value. At this time, it will be stretched. The height is the height of the input itself between the padding value and the border value.

2.select in Goole browser and ie8 and above browsers, the defined height value includes padding value and border value

3.select browse it in ie8 and ie8, select and The input is the same, and it does not include padding and border values ​​

4. When using jquery to calculate the height under the IE browser and Google, the height is different. Also note that jquery calculates the height including innerHeight and outerHeight. divided into

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