A question about CSS pseudo-elements?

Writing method one:
.businessType: before {
content:";
display: block;
}
method two:
.businessType: before {
content:";
display: table;
}
Why are the two writing methods different?
the first writing method can not occupy a space, while the second writing method can play the role of occupying a space.

Sep.04,2021

what do you mean by occupancy? Is it a change? If it is a line change, both are fine


<style>
.a:before {
    content: '';
    display: block;
    outline: 2px red solid;
}

.b {
    content: '';
    display: table;
    outline: 2px red solid;
}
</style>

<div class="a"></div>
11111111

<div class="b"></div>
222222222

both of them have changed lines, but where haven't they been changed? Is there something else written in your html and css that affects it?

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-1b39b14-411f5.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-1b39b14-411f5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?