html - What is a good way to display only one line break with multiple <br> tags? -


this question has answer here:

i have html multiple <br> tags:

text<br> <br> more text... 

using css, how display 1 line break 2 or more <br> tags?

i believe

br + br {     display: none; } 

should job. doesn't display line break comes directly after lie break, thereby displaying first.

edit: if can sure excessive line breaks want hide in different node next 1 want show. you don't want this.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -