There is no Magic Way.
You craft fixes (when possible), by reverse engineering THE CODE or CSS, based upon what you found.
This requires you understand Basic HTML / CSS
Those
junk areas could be any of a dozen different things (or combinations

)
A blank IMAGE as filler (very common in the old days)
<br />
<p class="break"> non-breaking space </p> or using <div>
styling (in the CSS or inline

) with
margin-bottom:
padding-bottom
minimum-height