Just specifying a fixed-width font doesn't address the problem of wanting to preserve whitespace -- HTML collapses multiple consecutive spaces to single spaces, and also treats newlines as spaces.
Using <pre> tags after "hard-wrapping" the text to a reasonable width is certainly an option, but I thought it would be nicer if it wrapped to the browser's window size. A fixed paragraph width can't account for variations in the font size in each user's browser.
- Steve
In reply to Re^2: Formatting CGI script error messages
by shay
in thread Formatting CGI script error messages
by shay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |