A brief discussion on the problem that the text in the button is not centered vertically in the browser's compatibility mode

A brief discussion on the problem that the text in the button is not centered vertically in the browser's compatibility mode
XML/HTML CodeCopy content to clipboard
  1. < button   style = "cursor:pointer;vertical-align: middle;"   > Delete </ button >   

It is not vertically centered at this time.

XML/HTML CodeCopy content to clipboard
  1. < button   style = "cursor:pointer;vertical-align: middle;height:21px;"   > Delete </ button >   

It is now vertically centered. Added height style to it.

The above article briefly discussing the problem that the Chinese characters on the button are not vertically centered in the browser's compatibility mode is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

<<:  MySQL import and export backup details

>>:  Introduction to the use of CSS3 filter attribute

Recommend

jQuery implements the drop-down box for selecting the place of residence

The specific code for using jQuery to implement t...

How to set up virtual directories and configure virtual paths in Tomcat 7.0

Tomcat7.0 sets virtual directory (1) Currently, o...

10 Underused or Misunderstood HTML Tags

Here are 10 HTML tags that are underused or misun...

Toolkit: A more powerful front-end framework than Bootstrap

Note: Currently, the more popular front-end frame...

Example of how to optimize MySQL insert performance

MySQL Performance Optimization MySQL performance ...

CSS sets Overflow to hide the scroll bar while allowing scrolling

CSS sets Overflow to hide the scroll bar while al...

WeChat applet implements SMS login in action

Table of contents 1. Interface effect preview 2.u...

A friendly alternative to find in Linux (fd command)

The fd command provides a simple and straightforw...

Getting Started with Mysql--sql execution process

Table of contents 1. Process 2. Core Architecture...

How to set up a shared folder on a vmware16 virtual machine

1. Set up a shared folder on the virtual machine:...

Linux general java program startup script code example

Although the frequency of starting the shell is v...

How to solve the problem of margin overlap

1. First, you need to know what will trigger the v...

Steps to run ASP.NET Core in Docker container

There are too much knowledge to learn recently, a...

How to configure wordpress with nginx

Before, I had built WordPress myself, but at that...