Where did extra space come from in html of Struts app?
问题 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