Funds Insider - Opening the door to funds

Welcome to the Citywire Funds Insider Forums, where members share investment ideas and discuss everything to do with their money.

You'll need to log in or set up an account to start new discussions or reply to existing ones. See you inside!

Notification

Icon
Error

Test Post
Dave64
Posted: 20 January 2022 13:08:52(UTC)
#1

Joined: 31/01/2020(UTC)
Posts: 203

Thanks: 186 times
Was thanked: 328 time(s) in 133 post(s)
Code:

Testing fixed width text using BBCode CODE tag (may be useful for displaying tabular data)

Ticker Quantity Value
ABC... 456789.. 12345678

1 user thanked Dave64 for this post.
Tim D on 20/01/2022(UTC)
Tim D
Posted: 20 January 2022 13:41:26(UTC)
#2

Joined: 07/06/2017(UTC)
Posts: 8,883

Thanks: 33209 times
Was thanked: 24362 time(s) in 7229 post(s)
Dave64;204062 wrote:
Code:

Testing fixed width text using BBCode tag

123 456 789



Nice. That one's not listed in any of the buttons above the edit box. Seems to suffer from a problem with multiple spaces being collapsed though (the 3rd and 4th line's 'x's would be aligned otherwise):
Code:

123 4567 89012
abc defg hijkl
x x x
..x ...x ....x
123 4567 89012
1 user thanked Tim D for this post.
Dave64 on 20/01/2022(UTC)
Ian Eccles
Posted: 20 January 2022 14:10:55(UTC)
#4

Joined: 04/07/2021(UTC)
Posts: 1,078

Dave64;204062 wrote:
Code:

Testing fixed width text using BBCode CODE tag (may be useful for displaying tabular data)

Ticker Quantity Value
ABC... 456789.. 12345678



I am that thick the above is beyond my comprehension.
Dave64
Posted: 20 January 2022 14:31:46(UTC)
#5

Joined: 31/01/2020(UTC)
Posts: 203

Thanks: 186 times
Was thanked: 328 time(s) in 133 post(s)
Ian Eccles;204077 wrote:
Dave64;204062 wrote:
Code:

Testing fixed width text using BBCode CODE tag (may be useful for displaying tabular data)

Ticker Quantity Value
ABC... 456789.. 12345678



I am that thick the above is beyond my comprehension.


The text has been placed within a “code” tag in a similar way as the “quote” tag to change its formatting

https://www.bbcode.org/reference.php

This forum doesnt appear to support all the tags.

2 users thanked Dave64 for this post.
Tim D on 20/01/2022(UTC), Johan De Silva on 29/06/2022(UTC)
Dave64
Posted: 20 January 2022 17:06:56(UTC)
#6

Joined: 31/01/2020(UTC)
Posts: 203

Thanks: 186 times
Was thanked: 328 time(s) in 133 post(s)
Code:

Testing fixed width text using BBCode CODE tag (may be useful for displaying tabular data)

Ticker   Quantity   Value
ABC     456789     12345678
ABC     456789     12345678
ABC     456789     12345678
XYZ     456789     12345678



I had to use EM Spaces ( ) to stop them being stripped out. Simply copy & paste one from above table to reuse.

Code:

Ticker     Quantity        Value
VWRL             100        50000
NG             20000          600
SMT               25         1234


The above uses EN spaces ( ) (I think that is the same as Tim used below -   )



Time to give up I think - but was interesting for a while !!!
2 users thanked Dave64 for this post.
Robert Galbraith on 20/01/2022(UTC), Tim D on 20/01/2022(UTC)
bédé
Posted: 20 January 2022 17:39:59(UTC)
#7

Joined: 26/09/2018(UTC)
Posts: 7,895

Making tables look neat on Citywire's offering is difficult. A string of dots does the trick but is not elegant.

Copy with dots and paste does not come out as hoped, but better than spending a lot of time.

I'm not up to sophisticated programing.
Tim D
Posted: 20 January 2022 17:51:05(UTC)
#3

Joined: 07/06/2017(UTC)
Posts: 8,883

Thanks: 33209 times
Was thanked: 24362 time(s) in 7229 post(s)
Hmm... I'm not convinced the spaces that produces are monospaced though.

Each of these rows is 14 characters, using that   but they come out (for me) unaligned (Firefox 91.5; not tried anything else). Should be straight columns of 'x's on the right of each group.
Code:

             x
       x     x
  x    x     x
 xx   xx    xx
xxx  xxx   xxx


Did wonder if   /   would be any better but apparently not.
Code:

             x
       x     x
  x    x     x
 xx   xx    xx
xxx  xxx   xxx


How about   ?
Code:

             x
       x     x
  x    x     x
 xx   xx    xx
xxx  xxx   xxx

Hmmm... that one is lined up in the editor, unlike the other ones, but when it's posted it's still a mess (although less so than the other ones).

Curiously I can get that last one (only) to work as expected if I open the developer tools and change the CSS for ".innercode" by un-ticking (ie removing the effect of) its "font-family: "courier new", "times new roman", monospace;" line but that's not exactly a portable solution.

A bit more fiddling reveals it can also be fixed by changing that CSS line's font list's "courier new" to "courier", or getting rid of the "times new roman" (which I don't think is monospaced). A bit more investigation shows I don't appear to have a "Courier New" font installed (so it was failing over to the non-monospaced times new roman font)... but that's likely to be a "just me" problem (investigating fixing that now).

Ah, more fiddling found some Firefox settings that were overriding some font choices with other "system default" ones (no idea why; probably an ill advised attempt to "unify" the system's "look"). Disabled that and all the above look perfectly lined up as intended.

For the avoidance of doubt, here's how the code sections above look for me now:

Snapshot
1 user thanked Tim D for this post.
Dave64 on 20/01/2022(UTC)
Naomi P
Posted: 29 June 2022 14:30:15(UTC)
#10

Joined: 29/05/2022(UTC)
Posts: 3

test post
Tug Boat
Posted: 29 June 2022 17:03:43(UTC)
#11

Joined: 16/12/2014(UTC)
Posts: 2,018

Thanks: 31 times
Was thanked: 4181 time(s) in 1449 post(s)
England won again, What an Innings by Bairdstow.
2 users thanked Tug Boat for this post.
Harry Trout on 29/06/2022(UTC), Frank Spencer on 29/06/2022(UTC)
Will Wander
Posted: 27 February 2025 10:04:15(UTC)
#13

Joined: 21/04/2020(UTC)
Posts: 3

Lurker testing
+ Reply to discussion

Markets

Other markets