formatted spacing

Pretender

Banned
Mar 14, 2000
7,192
0
0
I was JUST about to make a thread asking why we can't have formatted spacing. Great minds think alike :)
 

EmperorNero

Golden Member
Jun 2, 2000
1,911
0
0
raging, but we can keep it exclusively to the programming board. most nefs are in off topic.

pretender,
:)
 

JWMiddleton

Diamond Member
Aug 10, 2000
5,686
172
106
I was trying something the other day and noticed things did not line up in the posting as it does in the editor. Below is a test to show what I found. I had to edit and change my post as it look like crap.

11111 22222 33333 |5 spaces between each # group
.....11111.....22222.....33333.....|Spaces replaced w/dots
ooooo11111ooooo22222ooooo33333ooooo|All three are lined up

The numbers above line up perfectly in the editor. It seems that spaces are reduced to only one between items just like with HTML. Also, the dot is proportional on the display, but not in the editor.
 

Ladi

Platinum Member
Apr 21, 2000
2,084
0
0
When filling in forms, you generally are using a fixed-width font such as Courier/Courier new. The forums display in a variable-width font (my guess is Arial) most likely for readability, which accounts for spacing/length differences between same-number-of-character-strings.

Also, the HTML standard does not allow for more than one <space> to be displayed, mostly because it is a text markup language and a scripting language: extra spaces need to be defined differently because those spaces could be used for organizing the underlying code.

It's not anything Zuni can really control :)

~Ladi
 

Gloaras

Member
Sep 14, 2000
66
0
0
Welcome to the world of true type fonts! Not all the letters are the same X and Y dimensions like the courier types.....

 

Mark R

Diamond Member
Oct 9, 1999
8,513
16
81
But, if you use the HTML <pre> tag, as suggested above, then all characters are the same width/height (just like the courier fonts).

The <pre> tags also allow you to use multiple spaces in continuity. The net result is to make ASCII diagrams and simple tables possible.

I've asked for this several times but have never got a useful comment about it:

Link