Home > Web Front-end > HTML Tutorial > Rookie's problem with setting height_html/css_WEB-ITnose

Rookie's problem with setting height_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:00:41
Original
1032 people have browsed it

I have been working on a website page these two days. The relevant code is:




      


survey1




When I open the page in 360 browser and IE browser, the height of the div with the id of control is displayed. No, is this a compatibility issue? How to solve it?

Thank you everyone~


Reply to the discussion (solution)

Are you talking about different heights of divs or buttons? no the same? It may be because of the padding problem. In IE9, the padding is calculated separately, while in Chrome (it seems that 360 now uses the kernel of the chrome open source project), the ff equation is calculated in the height.
Reference for other browser css compatibility issues:
CSS solution to browser compatibility issues?? Has been tested in IE, FF, and Chrome

Add a < before the tag ;!DOCTYPE html>Try it. Remove fancy patterns.
If it has been added, IE can use the F12 developer tool to check the border padding height of the #control element. See what the problem is

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