1
I’m removing Todos
the whitespace of my files HTML
aiming to have a good reduction of its size (on average 5%) however when I do it is removed the white space between the elements when the HTML
is rendered in the browser this way:
Marked with red arrows where the white spaces were.
HTML Respective:
<img src="https://pbs.twimg.com/profile_images/1252616952/650camaro-3_normal.jpg"/><img src="https://pbs.twimg.com/profile_images/1252616952/650camaro-3_normal.jpg"/><img src="https://pbs.twimg.com/profile_images/1252616952/650camaro-3_normal.jpg"/>
Image of HTML
with spaces between rendered tags:
HTML Respective:
<img src="https://pbs.twimg.com/profile_images/1252616952/650camaro-3_normal.jpg"/> <img src="https://pbs.twimg.com/profile_images/1252616952/650camaro-3_normal.jpg"/> <img src="https://pbs.twimg.com/profile_images/1252616952/650camaro-3_normal.jpg"/>
How do I get the spacing pore without having any space between tags? spacing should not generate a horizontal scrollbar (which usually happens when checkers a margin).
.@re22, could this be more global? because this way would have to apply to each element, there will be some interference to elements that has another type of "display:"
– Ricardo
@Ricardohenrique what would be global? If you have something else to specify, edit the question and explain better. You just said you needed to have margin and no horizontal bar.
– Renan Gomes