An output would be like:
Problem is that PROMPT window is using a font (Arial maybe?) that doesn't have fixed character width and changing font settings in browser doesn't do anything in PROMPT window (nor alert()).text---someother---andanother
If i could change the font, then i could do something like this to make sure every block of text is the same size:
Code: Select all
emptyspace=" ";//emptyspace="_"; content=content+emptyspace.repeat(20-content.length);
Any way to format PROMPT, to add tab spaces or just change the font(Courier New) to make some blocks of text the same width?