Click to See Complete Forum and Search --> : Coders font?


Yanhead
11-12-2003, 09:44 AM
what is the best font to use when coding?

for clarity and ease on the eye etc...

thanks

DaveSW
11-12-2003, 09:56 AM
sans-serif - e.g. arial.

Best way to specify that is with css

<style type="text/css"><!--
body {
font-family: 'arial', sans-serif;
}
--></style>

- In the head section of your document.

That specifys arial first, and if the computer doesn't have arial it will use any sans-serif font it can find.

DaveSW
11-12-2003, 09:57 AM
Oh yeah - that came from some ariticle about designing for people with disabilites, so that font should be clearer for everyone.

Yanhead
11-12-2003, 11:01 AM
Sorry its me not explaining things properly, I meant what is easiest on the eye/clearest for the coder, while coding.

thanks

AdamGundry
11-12-2003, 11:20 AM
Probably anything sans-serif as well - sans-serif fonts tend to be easier to read on screen, whereas serif fonts are easier to read on paper.

Adam

Robert Wellock
11-13-2003, 09:54 AM
Courier or a monospace font, hands down if you mean actually to do the <coding>, like myself.