IE7 cause of “Text - Empty Text Node”

后端 未结 9 2515
野的像风
野的像风 2021-02-19 04:04

I\'m using the IE web developer toolbar to troubleshoot an issue. A blank white space is appearing below a list item, and I can\'t logically figure out why. Using the web dev

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-19 04:50

    I encountered a similar issue with an inline list that I was working on. IE7 was adding a small amount of space after each one of my list elements. I had difficulty tracking down the issue but I finally discovered that the white space in my HTML was causing the space. I removed the white space and everything was fixed. See before and after example below:

    
    
    
    
    
    

    Hope this helps out someone!

提交回复
热议问题