What's the matter with the gap between the li element tags, solve~~
Writing like this eliminates the gap <ul><li>real estate</li><li>home</li><li>second-hand house</li></ul>, but do I have to write this every time I write a web page, Is there any other solution?
Set font-size=0 in the ul tag, and set the size of the label text in li; because spaces are also characters, set the character size to 0, there will be no spaces.
Original URL: http://www.imooc.com/qadetail/99119