Get the App
SLTechnology News&Howtos  ›  Development  › 

Analysis of empty text node height of text in ie6/7

Shulou Source: shulou.com Published: 2022-06-03 06:07:05 11月16日 Update

This article is to share with you the content of empty text node high-level problem analysis of text in ie6/7. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The code is as follows:

.sidebar _ menu {width:225px; list-style:none; position:relative;}

.sidebar _ menu li {line-height:34px;width:225px; height:35px;font-size:0px; position:relative;}

.sidebar _ menu li span {display:block;width:225px;height:34px; overflow:hidden; border-bottom:1px solid # 007ac7;}

.sidebar _ menu li span a {width:225px;text-align:left;text-indent:35px;display:block; font:14px/34px Arail, "Microsoft YaHei"; color:#333; background:#c3e1f4;}

Upload a screenshot

This picture can be seen very well in ietester. Click layout to see the situation of text: empty text node.

Thank you for reading! This is the end of this article on "empty text node height problem Analysis of text in ie6/7". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Questions height analysis content more articles good practical code pictures situations screenshots articles see knowledge reference help related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Tech Info Huawei macOS vpn