Remove the height of <br>

how can I retain the line wrapping function of
and remove the height occupied by
?
Thank you

May.31,2021

br {display: none;} proper


1, the < br/ > tag is only used to wrap lines, and normal use will not produce height.
2, the height is generated because the block-level elements are followed by < br/ >, and the block-level elements originally wrap, but now a < br/ > newline is added, which is equal to two new lines with an extra line of white space in the middle, so you will feel that < br/ > produces the height.
3, in the first case, leave < br/ > to have a line wrap effect, and in the second case, there is a line break itself, so delete < br/ >, or display:none.


controls line-height, to keep font and line height consistent.

.xxx{
    font-size:20px;
    line-height:20px;
}
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-1be9d54-3198a.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-1be9d54-3198a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?