html - CSS - vertically centering inside BUTTON element -


I am trying to create a row with the button, where the button inside the button is vertically aligned between the button. All buttons must have the same height

The problem occurs when an image is used inside a button

I have created a small example:

Why is not the third button to combine with the second 2? I think the button should be enough for small content?

If I have vertical-align: middle; If you use then

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -