Answers for "remove space between two spans"

1

how to remove space between spans

# It happens because You probably have spaces or enters in html file. 
# For example try to minimalize your html by transforming this structure:
<div>
	<span class="one">One</span>
	<span class="two">Two</span>
 	<span class="three">Three</span>
</div>
# Into this one:
<div><span class="one">One</span><span class="two">Two</span><span class="three">Three</span></div>

# Also you can try to add attribute "flex" (which ignores spaces at the beginning and the end of element) in CSS to parent, in current situation it would be div:
div {
display: flex;
}
Posted by: Guest on June-04-2021
1

how to remove space between spans

# It happens because You probably have spaces or enters in html file. 
# For example try to minimalize your html by transforming this structure:
<div>
	<span class="one">One</span>
	<span class="two">Two</span>
 	<span class="three">Three</span>
</div>
# Into this one:
<div><span class="one">One</span><span class="two">Two</span><span class="three">Three</span></div>

# Also you can try to add attribute "flex" (which ignores spaces at the beginning and the end of element) in CSS to parent, in current situation it would be div:
div {
display: flex;
}
Posted by: Guest on June-04-2021

Code answers related to "remove space between two spans"

Browse Popular Code Answers by Language