css - Chrome bug: lose space between inline elements inside display:table -
it seems there bug in chrome: removes spaces between inline elements inside parent display:table.
<div style="display:table;"> <span>text1</span> <span>text2</span> </div>
edge/firefox display space without problem. ideas workarounds?
you can use non-breaking space html character entity
.
<div style="display:table;"> <span>text1</span> <span>text2</span> </div>
which space between items on browsers.
Comments
Post a Comment