My footer contains two sections: one for the address and one for contact information. The address section is styled using <p>
tags with <br/>
elements inside, while the contact information section is styled using <span>
elements with a display: block;
attribute. Here is my HTML code:
<div class="information">
<div class="informationAddresses">
<p>
TANOBEL FOOD
<br>
PT. Sariguna Primatirta
<br>
Jl. A. Yani 41-43
<br>
Gedangan, Sidoarjo
</p>
</div>
<div class="informationContact">
<span>Call Center <a href="tel:+628001112536">0800 111 2536</a></span>
<span>Hotline <a href="tel:+623170109110">(031) 701 09 110</a></span>
<span>SMS <a href="tel:+6277850800033">+6277 85080 0033</a></span>
<span><a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e3809690978c8e8691a397828d8c8c81868f858c8c87cd808c8e">[email protected]</a>"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="72110701061d1f17003206131c1d1...
</div>
</div>
I am facing an issue where there is space before a line break (<br/>
) inside the <p>
tag. Can this be resolved with CSS or should I consider using a different tag?
Thank you for your assistance, and please excuse any language errors.