[css-d] How to get a good monospaced font for IE6
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 PROTECTED] 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/
Re: [css-d] How to get a good monospaced font for IE6
On 21/09/05, Rick F. [EMAIL PROTECTED] wrote: 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. The simplest way I can think of would be to wrap the data in pre or code elements. Not perhaps the most semantic way of doing things, but it'd be monospaced (unless you styled it otherwise) :) -- Olly http://thinkdrastic.net/ __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] How to get a good monospaced font for IE6
Rick F. wrote: 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; 'bitstream vera sans', Arial and (by default) sans-serif on windoze are proportional fonts. I was originally using #4 which works great on Firefox and Safari but doesn't for IE6. On WinXP, Courier and Courier New both look the same on FF and IE6 here. The only one that looks quasi monospaced for IE6 is #2.. It shouldn't, unless someone has removed Arial from the system and Courier and/or Courier New is/are installed (at least one should be). 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? How about a public screenshot to show us what you see? Here's what I see on http://members.ij.net/mrmazda/auth/Font/fonts-face-samplesM.html : http://mrmazda.no-ip.com/SS/monofonts-WXP.png Ref. also to http://www.codestyle.org/css/font-family/index.shtml for more looks at fonts. -- Cast your cares on the Lord and He will sustain you. Psalm 55:22 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/auth/ __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] How to get a good monospaced font for IE6
Rick F. wrote: Ok.. I'm finding IE6 somewhat annoying with regards to monospaced fonts.. Any ideas on a nice easy way to get a monospaced font behavior on IE6 and still work for Firefox Safari? -- Rick Try: code { font: 1em 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; } Regards, ~dL -- David Laakso http://www.dlaakso.com __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] How to get a good monospaced font for IE6
On Wed, 21 Sep 2005 14:16:47 -0400, Rick F. [EMAIL PROTECTED] wrote: 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.. FWIW, my reply to Rick OL... I guess if all else fails, you could use a conditional comment maybe? !--[if lte IE 6] style type=text/css media=all body{font-family: Arial, Courier New, sans-serif, monospace;} /style ![endif]-- adjust as needed... Rick, i noticed an errant br in what I sent you before... nuke it. -- Tom Livingston Senior Multimedia Artist Media Logic www.mlinc.com Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] How to get a good monospaced font for IE6
Wednesday, September 21, 2005, 2:16:47 PM, Rick F. wrote: all of my tabular data ...should be in a table element. The font isn't the problem, it's the markup. is all over the place horizontally speaking. Right, without the right element, your data is nothing but a blob of text that a few lucky sighted persons with the right font can make sense of. Steve -- http://mrclay.org/ : http://thefrenchhorns.com/ __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] How to get a good monospaced font for IE6
* Steve Clay [EMAIL PROTECTED] [2005-09-21 15:44:30 -0400]: Wednesday, September 21, 2005, 2:16:47 PM, Rick F. wrote: all of my tabular data ...should be in a table element. The font isn't the problem, it's the markup. is all over the place horizontally speaking. Right, without the right element, your data is nothing but a blob of text that a few lucky sighted persons with the right font can make sense of. Thanks for all of the suggestions.. I've got some more work cut out for me on this.. I just checked my HTML validation and found that I've got a few problems there that apparently didn't used to exist (the page used to validate, but I've not played with it for several months). Anyway, once I try some of these suggestions, I'll post my results and might have a test login page you all can try out for yourself on my server. I'm sure I'll get lots of comments as I'm fairly new to CSS work and am not done with my project yet in general. Thanks! -- Rick __ css-discuss [EMAIL PROTECTED] 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/