IE7 cause of “Text - Empty Text Node”

后端 未结 9 2530
野的像风
野的像风 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条回答
  •  闹比i
    闹比i (楼主)
    2021-02-19 04:55

    this may have to do with the "has layout", your zoom: 1 may work, also try one of these:

    li { display: block; }
    li { width: auto; }
    li { width: 100%; }
    

    you may have to counter act these with a display: inline, or float: left if your trying to get the list to show up as a horizontal menu.

    hope that helps

提交回复
热议问题