Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem that the checkbox in table td cannot be centered up and down

Shulou Source: shulou.com Published: 2022-06-03 07:48:49 11月15日 Update

This article shows you how to solve the problem that the checkbox in table td can not be centered up and down, the content is concise and easy to understand, and it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

The code is as follows:

Body {font-size:24px; font-family:Tahoma;}

.checkbox {vertical-align:middle; margin-top:0;}

Check box for using css style

Default check box

In practical application, there will be situations where the effects of firefox and ie are different.

The code is as follows:

.comm _ check {margin:2px 2px 0 30px; float:left; VerticalMustang; margin-top:0px;}

* format: configuration for ff! important; configuration for ie6

The above content is how to solve the problem that the checkbox in table td cannot be centered up and down. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Top and bottom code content skills knowledge check box configuration different concise concise practical that is style situation effect article more format article industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Docker Linux Shulou Information vpn