Home > Web Front-end > HTML Tutorial > Is the input button in the form always showing only the upper half? _html/css_WEB-ITnose

Is the input button in the form always showing only the upper half? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:13:49
Original
1592 people have browsed it

The input button in the form always displays only the upper half. What is the reason? I have set the size and the container size is sufficient. Why?


Reply to discussion (solution)

. . IE6.

Not IE6, chrome firefox ie8 are the same
. . IE6.

Post the code

I don’t know, but I feel it~~~ It may be that the js somewhere controls the height, it may be the global css that controls it, it may be dazzled...

In addition to the possibility above, you can also try vertical-align:middle;

No code, no truth!

Put it into firefox and run it
firebug ---- html--- layout
Find your input and take a look for yourself. Disable some debugging in the style

Debugging line-height

The global height is limited

Use FF to see what is affected!

No height defined

The problem with line-height should be

I just change the input to button and there will be no problem. . .

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