Hi all,
Do you know how to insert "blank text" in this line?
I tried spaces (keyboard space bar), but they don't count. I have to put characters (points) to separate these 2 values.
{{payload.temp}}°c ..... <span class="fa fa-tint"></span>{{payload.hum}} %<br> <span class="fa fa-signal"></span><small>{{payload.rxRSSI}} dB</small>
How to replace "points " to "blank text space " ?
E1cid
2
Try
Or
<pre> </pre>
result of : <pre> </pre>
looks like <br>
result of :
Wonderfull ! it's working !
Thanks @E1cid
1 Like
E1cid
4
Put the temps inside the <pre></pre>
temp1 temp2
sorry i think i don't understand (i'm beginner in html ):
like this : <pre>temp1 temp2</pre>
?
[EDIT] Howw ! i understand i have to put my payloads inside
! okk !
the result :
<pre>{{payload.temp}}°c <span class="fa fa-tint"></span>{{payload.hum}} %</pre><br> <span class="fa fa-signal"></span><small>{{payload.rxRSSI}} dB</small>
there is a strange reaction :
after the "%" there is a <br>
and the line break is huge, and the font has changed.
So i think i keep
solution
E1cid
6
Just for info.
<pre>{{payload.temp}}°c <span class="fa fa-tint"></span>{{payload.hum}} %<br> <span class="fa fa-signal"></span><small>{{payload.rxRSSI}} dB</small></pre>
As the pre would add a line break.
ah yes, exact if I remove the <br>
I am less "discarded".
I learned a lot of things, it's cool. Thanks
In addition or instead, you can use  
or  
or  
to give a bit more exact control of the spacing.
Thanks for this add , it's usefull too :
1 Like
system
Closed
10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.