How can I make my text area use a monospaced font?
Just use a monospace font. For example for something like:
the css would be:
#mytextarea {
font-family: monospace;
}
If you want to use a specific monospace font, you can but don't forget adding the generic 'monospace' at the end in case the user does not have your preferred font installed:
#mytextarea {
font-family: 'DejaVu Sans Mono', monospace;
}