• Resolved walesy

    (@walesy)


    Hi Aleksander,
    Is there any way to separate the elements in a list of static tickers out into equal columns?

    I am using the template %symbol% %company% %price% %change% %changep%

    I have tried adding spans and padding, but this doesn’t let the columns line up. I’d like to add a set amount of space between each element so that the symbol, company name, price, etc show up in equally distributed columns. Any way this is possible to do within the plugin as it is now?
    Cheers
    Nicolas

Viewing 1 replies (of 1 total)
  • Thread Starter walesy

    (@walesy)

    Update: I finally figured it out. Since we can only use <span> tags, I had to set the display to inline block in order to set a width.

    <span style=”display:inline-block; width:20%”>%symbol%</span> <span style=”display:inline-block; width:30%”>%company%</span> <span style=”display:inline-block; width:5%”>%price%</span> <span style=”display:inline-block; margin-left:20px”>%change%</span> <span style=”margin-left:20px”>%changep%</span>

Viewing 1 replies (of 1 total)
  • The topic ‘Creating columns for a static ticker list’ is closed to new replies.