Author Topic: Display message  (Read 2366 times)

IBuyCars

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Display message
« on: July 29, 2014, 03:42:58 PM »
Would it be possible for the line breaks typed into the display message box to be displayed on the screen?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Display message
« Reply #1 on: July 31, 2014, 10:46:39 AM »
The messages accept HTML, so you have to use <br> at the end of a line to get a new line.  I could add an HTML/Text switch to allow for plain text.

IBuyCars

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: Display message
« Reply #2 on: July 31, 2014, 04:34:03 PM »
I don't know HTML do I just put <br> at the point where I want a line break?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Display message
« Reply #3 on: July 31, 2014, 04:59:05 PM »
Yep, that should work.  You can also use <p> to put a larger break.

Putting more than one <br> in a row may not behave like multiple line breaks, though.  In cases where you need longer breaks, put &nbsp; between the <br>s, like this:

<br>&nbsp;<br>

or

<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>

That would put 4 line breaks in a row.

IBuyCars

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: Display message
« Reply #4 on: July 31, 2014, 05:58:08 PM »
Many thanks