When html code is not 'beautified', it looks like
<div><img src="img1.jpg"/><img src="img2.jpg"/></div>
And then these pictures rendered as
|=||=| //no gap between
But after beautifier http://ctrlq.org/beautifier/
<div>
<img src="img1.jpg"/>
<img src="img2.jpg"/>
</div>
They are rendered like this
|=| |=| // gap (space) between
So, same code rendered differently. I want to figure how to do correct syntax for html inlined elements (and html at all)?
(inlined could be even 'block' elements), so I don't know, how to write code that could be human readable and rendered correctly (without gaps between inlined elements at least).
Any suggestions? =)
white-space: pre
to anything, it would make most things unchangeable, and there's no easy way of telling when that would apply.) – Ry-♦::before
and::after
and whitespace... – Ry-♦<div>
- if an::after
element is added, they matter, but otherwise, it's ignored [note the border].) – Ry-♦