How to ignore 2 break lines in HTML and CSS? -
I am debugging an existing Java / JSP / quick application, somehow it generates 2 break lines and one Big place page:
& lt; Br> & Lt; / Br & gt; & Lt; Br> & Lt; / Br & gt;
So I searched around and found that I could use the following in CSS to ignore the break lines:
br {display : None; }
See my previous questions:
But this causes the cause to ignore all the break lines in the app, and not the ideal solution I am looking for. It seems that BR is produced by the Straits and is strict for control, so I wonder if there is no way to define 2 breaks in CSS [to ignore], maybe something like that?
brbr {do not display anything; } Br.br {display: none; }
I tried, did not work, should be in the wrong format, any CSS expert can answer my question?
Simple:
br + br {display: none;}
It follows another br
using a br
that code +
selector.
Ref: and
Comments
Post a Comment