Regarding the compatibility issue between height and line-height of td_Experience exchange

WBOY
Release: 2016-05-16 12:06:12
Original
1574 people have browsed it

Conclusions obtained through PS screenshots
When setting td{height:22px;}, the page displays: ie is 22px, ff is 21px; Practice has proved that ie will always be 2px larger, and ff will be 1px smaller.
When setting td{line-height:22px}, the page displays: ie is 24px; ff is also 24px; 2px larger than the actual one, but consistent.

You can also test it yourself.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!