


Is the input button in the form always showing only the upper half? _html/css_WEB-ITnose
Jun 24, 2016 pm 12:13 PMThe 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. . .

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Difficulty in updating caching of official account web pages: How to avoid the old cache affecting the user experience after version update?

How do I use HTML5 form validation attributes to validate user input?

How to efficiently add stroke effects to PNG images on web pages?

What is the purpose of the <iframe> tag? What are the security considerations when using it?

What are the security implications of using iframes, and how can I mitigate them?

What are the best practices for cross-browser compatibility in HTML5?

How do I use the HTML5 <time> element to represent dates and times semantically?

How do I use the HTML5 <meter> element to display numerical data within a range?
