Where did extra space come from in html of Struts app?

瘦欲@ 提交于 2019-12-13 01:34:58

问题


I'm debugging a Struts Java app, in my defaultLayout.tag file there are 2 tables, there is no space between them, but in the result html which I saw from Firefox's source code Inspector, there are 2 lines of:

<Br></Br>
<Br></Br>

I wonder where in the Struts app did it generate those 2 extra line of breaks.


回答1:


In css add : br { display: none; }



来源:https://stackoverflow.com/questions/25632412/where-did-extra-space-come-from-in-html-of-struts-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!