Previous Message
Next Message

How to get a good monospaced font for IE6

Sent by Rick F. on 21 September 2005 18:06


Ok.. I'm finding IE6 somewhat annoying with regards to monospaced fonts..
I've got some reports that I generate that are tabular in nature and 
look fine in Firefox for both PC/Mac as well as Safari on Tiger (OSX).  
In reviewing how the output looks for IE6 on PC's I find that the font
being used by that browser is proportional and all of my tabular data
is all over the place horizontally speaking.  I searched the archives'
of this list and found a few hints but am not that pleased with the
results.

I've tried setting my font-family for these reports to :

1: font-family: 'andale mono', 'lucida console', 'bitstream vera sans', monospace;
2: font-family: Arial, "Courier New", sans-serif, monospace;
3: font-family: Monaco, "Luxi Mono", "Courier New", Courier, monospace;
4: font-family: Courier, "Courier New", monospace;

I was originally using #4 which works great on Firefox and Safari but doesn't for IE6.
The only one that looks quasi monospaced for IE6 is #2..

I'd prefer not to serve up different css files for different browsers if I don't really
need to.. Any ideas on a nice easy way to get a monospaced font behavior on IE6 and 
still work for Firefox & Safari?

If it matters, I've found that most IE6 installations I've found seem to have the
text encoding as "US-ASCII".  Not sure if that really matters here or not.

-- Rick
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: