The font size of the web page design setting in the css layout can not exactly extend the height of the container, but the height of the container will be higher than the font. We are measuring the psd design draft.

setting the font size in the css layout can not exactly open the height of the container, but the height of the container will be higher than the font, which will cause trouble in measuring psd design draft and layout. At first, I will set the line height, but often it will take more steps to measure it, which is very troublesome. Is there a better way to deal with this problem?

clipboard.png


clipboard.png


parent setting font-size:0px


if you are sure there is no lowercase English, you can set line-height to the same value as font-size


line-height can be set to 1


(1) set line-height: 1 tag importance uniformly to the tags you want in the reset css file; but the object cannot be inline, otherwise it is invalid;
(2) if you want inline tags to achieve the same effect, you can use display:block; or display:inline-block;
(3) of course, you can also put inline tags within block-level tags, for example:

<div>
    <span></span>
    <span></span>
</div>

set the parent div.
(4) for more details, https://codeshelper.com/a/11.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8a045-46d64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8a045-46d64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?