why do modern browsers still put spaces between inline block if there is whitespace

前端 未结 4 1722
慢半拍i
慢半拍i 2021-01-12 22:51

If you have markup like this:

one
two
4条回答
  •  说谎
    说谎 (楼主)
    2021-01-12 23:18

    There's a better way of removing the white space than setting font size to zero (as that method has unpleasant side effects). You can word-spacing instead:

    
    
    
    
    
    
    
    
    one
    two
    three

提交回复
热议问题