Alignment issues like type="radio" and type="checkbox", tested browser: ie7+/firefox8.0 Principle: Set the first font in font-family to Verdana font. The test code is as follows: Copy code The code is as follows:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Method for perfect vertical center alignment of form element input and text-123WORDPRESS.COMwebjx.com</title> <style type="text/css"> body {font:12px/24px verdana;} ul {list-style:none;} input,label { vertical-align:middle;} </style> </head> <body> <ul> <li><input type="radio" /><label>Contract for the Beneficiary</label></li> <li><input type="checkbox" /><label>Contract for beneficiary</label></li> <li><input type="radio" /><label>Microsoft</label></li> <li><input type="checkbox" /><label>Microsoft</label></li> </ul> </body> </html> |
<<: CSS scroll bar style modification code
>>: Refs and Ref Details in Vue3
Running Docker requires root privileges. To solve...
Detailed example of getting the maximum value of ...
What problems does MySQL ROLE solve? If you are a...
Table of contents 1. Index Basics 1. Types of Ind...
Preface Recently, I encountered a program using S...
1. What is the use of slow query? It can record a...
Table of contents 1. What is lazy loading? 2. Imp...
After starting Docker, let's take a look at t...
This article shares the specific code for JavaScr...
Preface Managing routing is an essential feature ...
The async_hooks module is an experimental API off...
Problem explanation: When using the CSS animation...
The utf8mb4 encoding is a superset of the utf8 en...
Sort Tool The Linux sort command is used to sort ...
Regarding the issue of MySQL remote connection, w...