Skip to main content
Question

I have Icons that I want listed in a line, but the formula keeps stacking them.

  • August 2, 2017
  • 0 replies
  • 41 views

I have Icons that I want listed in a line, but the formula keeps stacking them.
This topic has been closed for replies.

Can you post your formula?

But in any event this should work

List("<br>",
[icon 1],
[Icon 2],
[icon 3])

The <br> should break to a new line

  • Author
  • Quickbase Alumni
  • August 3, 2017
[Stop Icon Formula]&" "&[Chronic Illness Formula] 



I want them in a line, not stacked. Do I need to have more than 2 to make it work?

Sorry I mis-read your post.  You want them in a line.

Can I see the formulas for the two icons?

  • Author
  • Quickbase Alumni
  • August 7, 2017
The formula I listed the other day is the one that I'm using. BUT for some reason, it stacks them and won't put them in a line. Any ideas??

[Stop Icon Formula]&" "&[Chronic Illness Formula] 



Stop Icon-"<div><img src=\"https://images.quickbase.com/si/24/769-clear_breakp.png\"></div>"


Chronic Icon- "<div><img src=\"https://images.quickbase.com/si/24/038-doc_favor.png\"></div>"

If you get rid of the opening and closing it will fix the problem.

  • Author
  • Quickbase Alumni
  • August 8, 2017
Can you clarify? 

The div part of your formulas for the icons are causing the line break.
Try this is your formula box.

var text Stop = "<img src=https://images.quickbase.com/si/24/769-clear_breakp.png>";

var text Chronic Icon = "<img src=https://images.quickbase.com/si/24/038-doc_favor.png>"<br><br>List (" ", $Stop, $Chronic)<br>
alternatively, you can just changes you formula to read like this


"<img src=<a target="_blank" rel="nofollow" href="https://images.quickbase.com/si/24/769-clear_breakp.png%3E%22" title="Link https//imagesquickbasecom/si/24/769-clear_breakppngbr">https://images.quickbase.com/si/24/769-clear_breakp.png>"</a><br><br>