BuddyBoss Home – Web Support Forums Plugins BuddyBoss Inbox Howto make CSS line breaks? Line 1Line 2

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #51565
    @mln83

    Hi guys,

    Nice plugin you have made. I am really looking forward to see the next thing you come up with 🙂

    I have a question. How can I retain line breaks that I make in a message. Basically line breaks between <p></p> and <p></p>?

    I have tried with some custom.css:

    .message-content p {
      margin: 0px 0px 18px;
    }

    but it doesn’t seem to apply to the inbox paragraph. Any advice?

    Answers

    #51774

    Anonymous
    @

    Hi @mln83, when you press enter for line space it automatically adds following

    
    &nbsp;
    

    which is equivalent to for source code

    
    <p>&nbsp;</p>
    

    Regards
    Varun Dubey

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Howto make CSS line breaks? Line 1Line 2’ is closed to new replies.