You can use a media query to hide one <br>
tag for certain screen widths. You can adjust the maximum width to meet your needs and multiple queries may be needed to better suit different screen sizes.
@media only screen and (max-width: 600px){
br + br {
display: none;
}
}
However, it is better to use margin
s instead to more flexibly control the layout spacing and use media queries to reduce the margin on smaller screens.
<p><b>Name:</b> Frank Boter</p>
<p><b>Occupation:</b> Publisher, FBoter books</p>
<p><b>Complaint:</b> </p>
<p style="color: #1388ae;" class="push-top">The guys at goatmedia really know their stuff, </p>
<style>
.push-top {
margin-top: 1rem;
}
@media only screen and (max-width: 600px){
.push-top {
margin-top: 0.5rem;
}
}
</style>
.push-top {
margin-top: 1rem;
}
@media only screen and (max-width: 600px){
.push-top {
margin-top: 0.5rem;
}
}
<p><b>Name:</b> Frank Boter</p>
<p><b>Occupation:</b> Publisher, FBoter books</p>
<p><b>Complaint:</b> </p>
<p style="color: #1388ae;" class="push-top">The guys at goatmedia really know their stuff, </p>
`, you shoud use margins. Then you can have a CSS rule that is combined with media queries so that the margin is less on mobile environments – Ruan Mendes Jun 29 '20 at 17:10
`s are for line breaks, not for spacing between sections https://stackoverflow.com/questions/1726073/is-it-sometimes-bad-to-use-br – Ruan Mendes Jun 29 '20 at 17:11