Reply To: The Laboratory II – Try Your HTML & ASCII Art Experiments Here

Home Forums YWN Main Site & Coffee Room Issues The Laboratory II – Try Your HTML & ASCII Art Experiments Here Reply To: The Laboratory II – Try Your HTML & ASCII Art Experiments Here

#1053121

Lesson 2 – fixed font vs. proportional font:

When trying ASCII art, a fixed-width font is needed. that means each character takes up the same width. Proportional fonts are more visually appealing on a letter, but wreck picture-drawing attempts.

1) Fixed-width vs. proportional:

a) Fixed width-

wwwwwwwww

iiiiiiiii

b) proportional-

wwwwwwwww

iiiiiiiii

Notice any difference in how the “i”s and “w”s line up?

Another problem with the default appearance of posts is that multiple spaces between words is truncated to one space.

a b c becomes a b c.

How can a fixed-width font be selected, and spaces be preserved?

Prefixing a backtick before the post, and appending another backtick at the end takes care of this.

Lesson continues here…