How to solve the problem that the checkbox in table td cannot be centered up and down
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.